WordPress.org

Ready to get started?Download WordPress

Forums

TanTanNoodles Simple Spam Filter
uses outmoded php code (1 post)

  1. jmichae3
    Member
    Posted 3 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic