Skip to main contentSkip to footer

Premium 1.10.10

This maintenance release is recommended to all users of Relevanssi Premium, because it blocks a possible MySQL injection attack. I don’t think there’s significant danger involved – attacking this way would require access to WP admin, so it’s kind of tricky to pull of -, but better be safe than sorry.

I’ve also made several other changes. Brad Griffith tipped me to a method that will make fuzzy searches a lot more efficient. There’s a price – the index now takes a bit more space, but especially on large databases, the performance boost should be huge. You may need to rebuild the index after the upgrade.

  • REBUILD THE INDEX AFTER THIS UPDATE.
  • Prevented error messages relating to creation of post objects from users and taxonomies.
  • Fixed MySQL errors from empty meta queries.
  • Removed WP complaint about badly formed $wpdb->prepare() statement.
  • Sort order (orderby and order variables) are now read from query variables instead of global variables.
  • Relevanssi will not choke on bad values of orderby anymore.
  • Limit searches is improved: when using AND search it is less likely to miss results.
  • Phrase recognition read the whole post content (which it didn’t need) from database, causing memory issues in some cases. Fixed that.
  • Fuzzy searches are now a lot more efficient; they were a huge resource hog before.
  • Fixed a possible MySQL injection attack.

Your account

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

Search

Popular Resources

WP Job Manager

Relevanssi doesn’t work with the WP Job Manager search. The solution is fortunately simple: you can just disable Relevanssi for the WP Job Manager page. To disable Relevanssi, add this to your site: add_action( ‘get_job_listings_init’, ‘relevanssi_fix_for_wp_job_manager’ ); function relevanssi_fix_for_wp_job_manager(){ remove_filter( ‘posts_request’, ‘relevanssi_prevent_default_request’ ); remove_filter( ‘the_posts’, ‘relevanssi_query’ ); } Thanks to…

Visual Composer: Indexing Raw HTML elements

Visual Composer and WP Bakery have a Raw HTML element that can be used to add HTML code to your pages. By default, this content is stored in an encoded format Relevanssi can’t read. Fortunately, the encoding is simple Base64 encoding that is easy to read. So, in order to…

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