Skip to main contentSkip to footer

Relevanssi 3.5.8 is out now and available from the plugin repository.

Relevanssi has a XSS vulnerability. If you are using the “Did you mean” feature, it is possible to construct a search query that contains scripts that are automatically run on the page if the “Did you mean” feature runs.

See the DWXSecurity report on the vulnerability.

Version 3.5.8 fixes this vulnerability. If you use the “Did you mean” feature on your site, upgrade the plugin immediately. There are also other bug fixes and small improvements in the new version:

  • Did you mean function had a XSS vulnerability, which is now removed.
  • Minimum word length wasn’t applied to titles in indexing. It is now fixed. If you think this is a problem, rebuild the index.
  • TablePress compatibility has been improved.
  • Meta query handling has been improved, thanks to Maxime Culea.
  • Improved WP_Query parameter support: setting query variable sentence to 1 forces phrase search.

Your account

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

Search

Popular Resources

Yoast Local SEO

…’rlv_meta_fix’, 99 ); function rlv_meta_fix( $q ) { $q->set( ‘meta_query’, array() ); return $q; } This clears out the meta_query. If you want to use other meta queries, this will make them fail as well. This only applies to Yoast Local SEO. This does not apply to regular Yoast SEO….

Ordering search results by date

I’m building a directory and would like the oldest posts to automatically display first in the search results, is this possible? I found out how to add a link that the user can click to sort the results but would like an automatic solution. Can you provide code that can……be added to the functions.php or search.php file to accomplish this? You can easily change the order to using post date from the Relevanssi settings, but that sort is newest first. Here’s a simple function that will change the order to post date, oldest first. Just add this code to…

WooCommerce: Return only exact matches for SKU searches

This little filter function works on relevanssi_hits_filter. When a search query is made that matches an SKU (or any other custom field, but SKUs are the most likely scenario here), only results that match the SKU will be returned. For this to work, Relevanssi must be set to index the…

Related Posts:

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