Make WordPress Core


Ignore:
Timestamp:
02/11/2005 02:16:38 AM (22 years ago)
Author:
saxmatt
Message:

http://mosquito.wordpress.org/view.php?id=778

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r2191 r2261  
    680680                        if( $comment->approved == 1 ) {
    681681                                foreach( $this->spam_words as $word ) {
     682                                        if ( empty( $word ) )
     683                                                continue;
    682684                                        $fulltext = strtolower($comment->email.' '.$comment->url.' '.$comment->ip.' '.$comment->text);
    683685                                        if( strpos( $fulltext, strtolower(trim($word)) ) != FALSE ) {
Note: See TracChangeset for help on using the changeset viewer.