WordPress.org

Support

Support » Plugins and Hacks » [Plugin: TanTanNoodles Simple Spam Filter] uses outmoded php code

[Plugin: TanTanNoodles Simple Spam Filter] uses outmoded php code

  • line 346 should be changed to
    if (preg_match('/'.trim($pattern).'/', $text, $matches)) {
    otherwise, this old plugin does not work with the new PHP interpreter that is installed in current web servers. the function call used for regex matching that is used is removed in the current versions of php and preg_match() is its successor.

    since any end characters can be used, maybe % or | should be used instead. but I think % is reserved for asp brackets…

  • The topic ‘[Plugin: TanTanNoodles Simple Spam Filter] uses outmoded php code’ is closed to new replies.