Relevanssi - A Better Search
Quotes and slash - Highlights bug (2 posts)

  1. Ayek
    Posted 3 years ago #

    Hi, please check yourself >
    Highlights for excerpts enabled, search term like "word/word"
    with quotes
    On my website gives error:
    Warning: preg_replace() [function.preg-replace]: Unknown modifier '6' in /wp-content/plugins/relevanssi/lib/excerpts-highlights.php on line 322


  2. Mikko Saari
    Plugin Author

    Posted 3 years ago #

    Thanks - the terms are passed through preg_quote(), but apparently that doesn't quote the delimiter, unless you specify so.

    I just released 3.0.2, but I made this a last-minute addition to it. So, just upgrade to 3.0.2 to fix the bug.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic