Changeset 3272 for trunk/wp-includes/comment-functions.php
- Timestamp:
- 12/05/2005 04:58:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r3271 r3272 865 865 } elseif( $author != '' && $email != '' ) { 866 866 $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' LIMIT 1"); 867 if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) ) 868 return true; 867 if ( ( 1 == $ok_to_comment ) && 868 ( empty($mod_keys) || false === strpos( $email, $mod_keys) ) ) 869 return true; 869 870 else 870 871 return false;
Note: See TracChangeset
for help on using the changeset viewer.