From f495494b756f67a67cd2959c9f5f4828ac408148 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 24 Jan 2005 08:27:53 +0000 Subject: [PATCH] Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705 git-svn-id: http://svn.automattic.com/wordpress/trunk@2138 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions-post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index ede6285a8d..eb5e5424bf 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -471,8 +471,8 @@ function wp_new_comment( $commentdata, $spam = false ) { $comment_id = $wpdb->insert_id; do_action('comment_post', $comment_id); - if ( 'spam' != $approved ) { // If it's spam save it silently for later crunching - if ( !$approved ) + if ( 'spam' !== $approved ) { // If it's spam save it silently for later crunching + if ( '0' == $approved ) wp_notify_moderator($comment_id); if ( get_settings('comments_notify') && $approved )