WordPress.org

Make WordPress Core

Changeset 2397


Ignore:
Timestamp:
03/01/2005 10:10:59 AM (17 years ago)
Author:
matt
Message:

Fix for emergent whitelisting, hat tip MtDewVirus - http://mosquito.wordpress.org/view.php?id=995

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-functions.php

    r2332 r2397  
    758758            if ( $wpdb->get_var("SELECT link_id FROM $wpdb->links WHERE link_url LIKE ('%$domain%') LIMIT 1") )
    759759                return true;
     760            else
     761                return false;
    760762        } elseif( $author != '' && $email != '' ) {
    761763            $ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author = '$author' AND comment_author_email = '$email' and comment_approved = '1' ");
Note: See TracChangeset for help on using the changeset viewer.