From 4797b29430ecfa5ff1a21633e757a8474fb55b1b Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh Date: Mon, 4 Oct 2004 10:19:43 +0000 Subject: [PATCH] Missing ";" git-svn-id: https://develop.svn.wordpress.org/trunk@1741 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 70c0254e13..67e4473d3a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1484,7 +1484,7 @@ function check_comment($author, $email, $url, $comment, $user_ip) { 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' "); if ( 1 == $ok_to_comment && false === strpos( $email, get_settings('moderation_keys')) ) - return true + return true; return false; } @@ -1808,4 +1808,4 @@ function wp_mail($to, $subject, $message, $headers = '', $more = '') { return mail($to, $subject, $message, $headers, $more); } -?> \ No newline at end of file +?>