Skip to main contentSkip to footer

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 of WP_Post objects to avoid out-of-memory issues. If you need WP_Post objects, use the relevanssi_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. See relevanssi_valid_sources.
  • New feature: New filter hooks relevanssi_after_index_doc_n and relevanssi_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.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Avada
Avada is one of the most popular WordPress themes on the market. All post types are not found Avada has…
Divi

Make Divi include all post types Divi search form module restricts the search to only posts and pages. To get rid of that restriction, you can add this to your site: add_action( ‘pre_get_posts’, function() { unset( $_GET[‘et_pb_searchform_submit’] ); }, 1 ); Divi and multisite searching Divi search results templates don’t……work in multisite searching. Multisite searching requires changes to the templates, and it’s impossible to make those changes in the Divi Blog module. If you want to do multisite searching with Divi, you need to use a standard WordPress search results template for the results. Getting Divi to show Relevanssi……excerpts Divi doesn’t use the default excerpts but instead truncates the beginning of the post and shows the first 270 characters. That means Relevanssi-generated excerpts don’t show up at all. However, you can configure Divi to show Relevanssi excerpts. Just enable the “Use excerpts when defined” setting in Divi settings,…

Related searches feature

…which have at least one matching token with the current search. Searching for “john” will match both “john blackbourn” and “john smith”. Searching for “john blackbourn” will match “john smith”, but won’t match “john”, because the function doesn’t suggest queries that consist of only one token. Also, only queries that…John Blackbourn wrote a cool related searches feature for Relevanssi Premium. It’s included from version 1.7.4. In order to use the related searches, you must have search logging enabled and a good log of past searches. Then add the following code to your search results template in a suitable place:…

Related Posts:

Currently there are no related posts available.

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed