diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 3b81242f4d..d9d0706715 100644
a
|
b
|
if ( ! function_exists( 'wp_notify_moderator' ) ) : |
1739 | 1739 | $comment_author_domain = gethostbyaddr( $comment->comment_author_IP ); |
1740 | 1740 | } |
1741 | 1741 | |
1742 | | $comments_waiting = $wpdb->get_var( "SELECT count(comment_ID) FROM $wpdb->comments WHERE comment_approved = '0'" ); |
| 1742 | $comments_waiting = $wpdb->get_var( "SELECT count(*) FROM $wpdb->comments WHERE comment_approved = '0'" ); |
1743 | 1743 | |
1744 | 1744 | // The blogname option is escaped with esc_html on the way into the database in sanitize_option |
1745 | 1745 | // we want to reverse this for the plain text arena of emails. |