WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Ayek
    Member
    Posted 2 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

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year 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

About this Topic