Missing ";"
git-svn-id: http://svn.automattic.com/wordpress/trunk@1741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f14cb06856
commit
37f854a969
|
@ -1484,7 +1484,7 @@ function check_comment($author, $email, $url, $comment, $user_ip) {
|
||||||
if ( 1 == get_settings('comment_whitelist')) {
|
if ( 1 == get_settings('comment_whitelist')) {
|
||||||
$ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author_email = '$email' and comment_approved = '1' ");
|
$ok_to_comment = $wpdb->get_var("SELECT comment_approved FROM $wpdb->comments WHERE comment_author_email = '$email' and comment_approved = '1' ");
|
||||||
if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) )
|
if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) )
|
||||||
return true
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue