Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi M,

    I’ll send a pull request to Yoast with the solution, hopefully it’ll make it into a next version of the plugin. In the mean time, you can solve it by changing line 1690 in file /wp-content/plugins/wordpress-seo/admin/class-metabox.php to:

    if ( !preg_match('%\b'.$job['keyword'].'\b%', $firstp) && !preg_match('%\b'.$job['keyword_folded'].'\b%', $firstp) ) {

    Smile,
    Juliette

    Thread Starter M

    (@infolegal)

    Thanks Juliette!

    Your fix is working like a charm. I’ll just mark this as resolved.

    You’re welcome 😉

    P.S.: in the mean time my fix has been merged to the code plugin code, so it should be in the next release

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: preg_match() in class-metabox.php on line 1690’ is closed to new replies.