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

The search form shortcode

Relevanssi includes a search form shortcode that can be used to display a search form. The shortcode is searchform and it was introduced in Relevanssi Premium 2.0 and Relevanssi 4.0. Adding query parameters This shortcode prints out a basic search form. If you want to add additional query parameters, that’s……return $form; } Add this code to your site. Note this will then apply to all search forms, not just the ones generated by the shortcode. Versions 2.2.4 (Premium) and 4.1.3 (free) added a new filter hook, relevanssi_search_form, which does the same but only applies to the shortcode search form….…easy: just add parameters to the shortcode. Here are some examples: Search for: will restrict the search form to just products. Search for: will restrict the search form to posts, pages and news. Search for: will restrict the search form to categories 10, 14 and 17. Search for: will do…

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