Posted on

Premium 1.14.7

Looks like Relevanssi is compatible with WordPress 4.7, but one problem has been found so far: admin dashboard search for pages doesn’t work with Relevanssi. Other post types seem to work just fine. I wasn’t able to fix the problem, so this version circumvents it by disabling Relevanssi in the admin page search.

This version also fixes admin menu searching, which was broken with Relevanssi even before 4.7. There’s also a new feature that’ll make highlighting words with accented characters better. Pinning will also support multi-word search terms.

  • Relevanssi broke the WP admin menu search when admin searches were enabled.
  • Pinning now supports multi-word search terms.
  • Relevanssi broke the admin page search under WP 4.7. Relevanssi is now disabled in admin page searches.
  • The way accented characters are handled in highlighting is improved. A new filter, relevanssi_accents_replacement_arrays, can be used to adjust the accent replacement.

Get the new version from auto update or from the Download page.

4 comments Premium 1.14.7

  1. It looks like Relevanssi Premium 1.14.7 is now broken on pre-PHP 5.4 systems (e.g. CentOS 6, which uses PHP 5.3.3 and has 4 years of support left). Before you say “WordPress is for PHP 5.6 or later”, that’s the recommended PHP level – WordPress is stated to work on PHP 5.2.4 or later.

    The exact error on a CentOS 6 system is:

    PHP Parse error: syntax error, unexpected ‘[‘ in /wp-content/plugins/relevanssi-premium/lib/excerpts-highlights.php on line 531

    This is the new relevanssi_add_accent_variations() function that uses square bracket syntax for assigning array elements, that came in with PHP 5.4 I believe – see

    The fix is to use the array() syntax rather than the square bracket syntax. I’ll post this issue up via the support form as well, but I thought people might like to see it alongside the blog posting too.

      1. That’s fine for a short term fix, but will there be any plans to fix this for pre-PHP 5.4 systems in the next release of Relevanssi Premium? At the moment, I’m holding back updates to the latest version on 20-odd sites, which isn’t great.

        It’s not easy to upgrade PHP on CentOS 6 (the IUS repo gave me hope, but it broke too many sites for me because of the changes between 5.3.3 and 5.6.X). In some cases, I can move CentOS 6 sites to CentOS 7, but it’s a fair amount of work and still risks breakage.

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 *