2.27.7 / 4.24.6
- Security: Relevanssi will now strip tags from excerpt text (keeping only the whitelisted tags) to avoid XSS attacks. An attack was possible if you used comments for excerpts without search term highlighting (a highly unusual combo of settings) or if you had a malicious contributor. Thanks to Jack Taylor.
- Premium. Minor fix: Stop the Did you mean feature from returning the original search phrase as a suggestion.
- Minor fix: Improve performance by enabling caching for password protection check.
- Minor fix: Relevanssi’s removal of page builder shortcodes is less greedy and won’t cause missed content anymore.
2.27.6 / 4.24.5
- Security: Exporting logs now checks for user capability. The default setting is ‘manage_options’, but it can be adjusted with the
relevanssi_options_capability
filter hook. - Security: Certain query parameters allowed SQL injection attacks. Thanks to Jack Taylor.
- Minor fix: Tag and category weights from settings page weren’t applied correctly.
- Premium. Minor fix: The block editor sidebar JS code was missing from the package.
2.27.5 / 4.24.4
- Security: Stop XSS attacks in comments when highlighting post content.
- Minor fix: Add support for disabling the Restrict Content Pro ‘Hide restricted posts’ option.
- Minor fix: Avoid errors from non-existing author_name values.
- Premium. Minor fix: More connection problems with PDF server are classified as temporary.
- Premium. Minor fix: Wiping server errors for attachments didn’t always work correctly.
- Premium. Minor fix: Click tracking permalinks are no longer passed through
esc_attr()
as that would sometimes break the links.
2.27.4 / 4.24.3
- New feature: New filter hook
relevanssi_cached_post_object
can be used to modify the cached post objects. - Minor fix: Relevanssi cache population now creates
stdClass
objects instead ofWP_Post
objects to avoid out-of-memory issues. If you need WP_Post objects, use therelevanssi_cached_post_object
filter hook to create them.
2.27.3
- Premium. Minor fix: Make click tracking code more error-resistant.
- Minor fix: Avoid problems with object custom field values.
- Premium. Minor fix: Fix problems with click tracking, pinning and WPML support.
2.27.2 / 4.24.2
- Excerpts were broken in 2.27.0 / 4.24.0. This update returns the custom excerpts.
4.24.1
- Fix to avoid database errors.
2.27.1
- Premium. The automatic updates were broken in 2.26.1. This version fixes the problem.
If you have already updated to 2.26.1 or 2.27.0, you can either update manually or fix the problem with this little snippet:
add_action( 'admin_init', function() { global $relevanssi_variables; $relevanssi_variables['autoupdate']->plugin_slug = 'relevanssi-premium/relevanssi.php'; } );
Adding this snippet to your site will fix the automatic updates in 2.26.1 and 2.27.0, and once you’ve updated to 2.27.1, you can remove the snippet.
2.27.0 / 4.24.0
- Premium. New feature: You can now set the
rlv_source
parameter in a search form and then filter the search logs based on that. Seerelevanssi_valid_sources
. - New feature: New filter hooks
relevanssi_after_index_doc_n
andrelevanssi_truncate_index
for potential compatibility integrations. - Premium. Minor fix: Related posts keyword source taxonomy list now shows the taxonomy slug to distinguish between taxonomies with the same name.
- Premium. Minor fix: Building excerpts from PDF content didn’t work in multisite context, leading to wrong excerpts or no excerpts at all.
- Minor fix: Adjust post type parameter handling so that it doesn’t change the
post_type
query var. - Minor fix: SEO Framework local search exclude option description now tells what the option actually does.
- Premium. Minor fix: Click tracking code is now only used when the click tracking option is enabled.
- Minor fix: The
relevanssi_post_type_archive_ok
hook second parameter didn’t match the documentation. It does now. - Minor fix: SEOPress compatibility mode is enabled again.
- Minor fix: The update counts link had the wrong tab query parameter.
- Premium. Minor fix: Stop fatal errors from pinning and
relevanssi_index_content
filter hooks. - Premium. Minor fix: Click tracking is disabled for non-existing posts.
- Premium. Minor fix: Remove errors from textdomain loading.
- Minor fix: Relevanssi cache population now creates WP_Post objects instead of stdClass objects.
- Minor fix: Avoid fatal errors in the installation process with Polylang enabled.
- Minor fix: Make it possible to remove search queries with emoji from the log.
You can find the new versions from the automatic updates or the Downloads page.