Posted on

Premium 2.24 / Free 4.21

These versions are maintenance releases, with some new filter hooks that allow more customization and some requested debugging tools. The rest of the updates are small bug fixes in fairly uncommon situations.

2.24.4

  • Premium. Fixes taxonomy indexing broken in 2.24.3.

2.24.3

  • Premium. Security fix: Relevanssi had a vulnerability for SQL injections. Exploiting the vulnerability does require WP admin access. This vulnerability is now fixed.
  • Premium. Security fix: Relevanssi had a vulnerability for error log injections. Exploiting this vulnerability requires file upload access to the site, and that the debug logging is enabled. This vulnerability is now fixed.
  • Premium. New feature: New filter hook ‘relevanssi_get_attachment_posts_query_final‘ filters the final SQL query for attachment post fetching.
  • Premium. Changed behaviour: Relevanssi now skips attachments with ‘Server did not respond’ errors when reading attachments. This should help with problems from attachments that are too big to read.
  • Premium. Minor fix: Improved server timeout error handling for attachment reading.
  • Premium. Minor fix: Multisite search failed when the search term resolved to nothing in the tokenizer.
  • Minor fix: Relevanssi didn’t strip tags from custom field -specific excerpts and could show zero-hit excerpts for the content.

2.24.2 / 4.21.2

  • Premium. Minor fix: Fixes broken WP CLI progress bars.
  • Premium. Minor fix: For indexing, the stemmer is always in OR mode so that both the stemmed and original words are indexed.
  • Minor fix: Meta query boolean to array conversion.

2.24.1 / 4.21.1

  • New feature: The debugging tab now shows the status of the relevanssi_words option.
  • Changed behaviour: The relevanssi_index_content and relevanssi_index_titles filter hooks now get the post object as a second parameter.
  • Minor fix: Stop Relevanssi from blocking the feed searches.
  • Premium. Minor fix: Remove warning from missing blog_id parameter.
  • Minor fix: Improve exact match boosts with accented letters.
  • Minor fix: Entering synonyms in Polylang all languages mode was possible; it shouldn’t be.
  • Minor fix: Relevanssi is now blocked in the reusable content block search.

2.24.0 / 4.21.0

  • New feature: New filter hook relevanssi_highlight_regex makes it possible to adjust the regex used for highlighting.
  • New feature: New filter hook relevanssi_excerpt_custom_fields filters the list of custom fields used for creating the excerpt.
  • New feature: New filter hook relevanssi_phrase_custom_fields filters the list of custom fields used for phrase matching. Return an empty array to disable phrase matching in custom fields.
  • New feature: New filter hook relevanssi_phrase_taxonomies filters the list of taxonomies used for phrase matching. Return an empty array to disable phrase matching in taxonomies.
  • New feature: If RELEVANSSI_DEBUG, WP_DEBUG and WP_DEBUG_DISPLAY are all true, Relevanssi will print out indexing debugging messages to the error log (PHP error log or whatever is defined in WP_DEBUG_LOG).
  • Changed behaviour: If the relevanssi_accents_replacement_arrays returns an empty array, the accent variation feature is disabled.
  • Minor fix: Term indexing with WPML only indexed the terms in the current admin language. Now, the terms are indexed in all languages.
  • Minor fix: Some ACF fields change the global $post, leading to indexing problems. Relevanssi tries to prevent that now.
  • Premium. Minor fix: Relevanssi couldn’t create the click tracking table on subsites during the multisite installation.
  • Premium. Minor fix: Safety features for post-part targeting to avoid fatal errors from wrong variable types.
  • Premium. Minor fix: Pinning failed in multisite if the search site didn’t have any pinned posts.
  • Premium. Minor fix: The relevanssi_custom_field_value filter hook is now applied to _relevanssi_pdf_content field when the PDF content is indexed for the parent post.
  • Premium. Minor fix: The relevanssi_premium_get_post() now returns a WP_Error when the post is not found.
  • Premium. Minor fix: The “Did you mean” feature now makes fewer suggestions for already correct words.
  • Premium. Minor fix: Trigger reindexing of the parent post when an attachment is attached or detached from the Media Library.
  • Premium. Minor fix: Click tracking works much better in multisite searches and counts the clicks for the correct subsite.

You can get the new version from the automatic updates. The Premium version can also be found on the Download page.

Leave a Reply

Are you a Relevanssi Premium customer looking for support? Please use the Premium support form.

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