Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: https://develop.svn.wordpress.org/trunk@2138 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
26c42e4384
commit
9533069e21
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user