mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -40,7 +40,7 @@ class retrospam_mgr {
|
||||
if ( empty( $word ) )
|
||||
continue;
|
||||
$fulltext = strtolower($comment->email.' '.$comment->url.' '.$comment->ip.' '.$comment->text);
|
||||
if( strpos( $fulltext, strtolower($word) ) != FALSE ) {
|
||||
if( false !== strpos( $fulltext, strtolower($word) ) ) {
|
||||
$this->found_comments[] = $comment->ID;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user