Version 2.19.0 (4.17.0 for the free version) was the big maintenance release after the summer break.
Version 2.19.1 / 4.17.1
- Minor fix: WooCommerce layered navigation compatibility function caused enough problems that I disabled it by default. The problems included performance issues and incompatibilities with third parties, like BeRocket. You can enable the feature with
add_filter( 'woocommerce_get_filtered_term_product_counts_query', 'relevanssi_filtered_term_product_counts_query' );
- Minor fix: Data attribute handling for in-document highlighting is now better.
Version 2.19 / 4.17
- Premium. New feature: New CLI command
list_pinned_posts
lists all pinned and unpinned posts. - Premium. New feature: New CLI command
list
lists indexed and unindexed posts, taxonomy terms and users. - New feature: You can now look at how the posts appear in the database from the Debugging tab.
- New feature: Relevanssi now works with WooCommerce layered navigation filters. The filter post counts should now match the Relevanssi search results.
- Premium. New feature: You can now export the click tracking logs.
- New feature: The new function
relevanssi_count_term_occurrances()
can display how often search terms appear in the database. - Changed behaviour: Relevanssi post update trigger is now on
wp_after_insert_post
instead ofwp_insert_post
(for WP versions 5.6+). This makes the indexing more reliable and better compatible with other plugins. - Changed behaviour: Throttling searches has been impossible when results are sorted by date. Now, if you set Relevanssi to sort by post date from the searching settings, you can enable the throttle, and the throttling will make sure to keep the most recent posts. This does not work if you set the
orderby
topost_date
elsewhere. - Minor fix: Prevents Relevanssi from interfering in fringe cases (including The Event Calendar event search).
- Minor fix: Relevanssi added the
highlight
parameter to home page URLs, even though it shouldn’t. - Minor fix: Indexing
nav_menu_item
posts is stopped earlier in the process to avoid problems with big menus. - Minor fix: Add support for WooCommerce product attribute lookup table filtering.
- Minor fix: Improves Polylang language detection.
- Minor fix: Improve excerpts to avoid breaking HTML tags when tags are allowed.
- Minor fix: Add support for JetSmartFilters.
- Premium. Minor fix: With multiple excerpts, sometimes Relevanssi would return no excerpt at all.
- Minor fix: If the
sentence
query variable is used to enable phrase searching, Relevanssi now adds quotes to thehighlight
parameter. - Minor fix: Add support for TablePress
table_filter
shortcodes. - Minor fix: Improve WP File Download file content indexing support. Relevanssi indexing now happens after the WPFD indexing is done.
- Premium. Minor fix: User profile update actions now happen at a later priority. This should reduce problems when indexing ACF fields, for example.
- Minor fix: Relevanssi now hyphenates long search terms on the User searches page. This prevents long search terms from messing up the display.
- Minor fix: Stopped some problems with “Did you mean” suggestions suggesting the same word if a hyphen was included.
- Premium. Minor fix: If the API key weren’t set in network settings for a multisite installation, Relevanssi wouldn’t fall back to the current site API key setting when indexing attachment content. That works correctly now. However, preferably still set the API key on the network settings level.
- Minor fix: Paging didn’t work in admin searches for hierarchical post types (like pages).
- Minor fix: Relevanssi doesn’t add click tracking or highlight parameters to admin searches anymore.
- Premium. Minor fix: The search log reset feature now also resets the click tracking log.
- Minor fix: In-document highlighting could break certain elements thanks to Relevanssi messing up data attributes.
- Minor fix: Relevanssi now recursively runs
relevanssi_block_to_render
and the CSSrelevanssi_noindex
filtering for inner blocks. - Premium. Minor fix: Relevanssi redirects now work better with FacetWP searches. Thanks to Jan Willem Oostendorp.