Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author JK

    (@justin_k)

    Thanks. A fix will be included in the next update; for now, if you like you can replace line 110 of WP-ViperGB.php with:

    return preg_replace_callback(‘/\[img=?\]*(.*?)(\[\/img)?\]/’, create_function(‘$matches’, ‘return “<img src=\”$matches[1]\” class=\”ecu_images\” alt=\”” . basename($matches[“$1”]) . “\” />”;’), $content);

    Thread Starter danbp

    (@danbp)

    Thank you for your reactivity !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deprecated preg_replace’ is closed to new replies.