diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 67a2095c20..1377f3cc05 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1160,7 +1160,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false if ( $user_ID ) { $comment_args['include_unapproved'] = array( $user_ID ); - } else if ( ! empty( $comment_author ) ) { + } else if ( ! empty( $comment_author_email ) ) { $comment_args['include_unapproved'] = array( $comment_author_email ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 84a5cd54f6..c06f3c0adf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30546'; +$wp_version = '4.1-beta2-30547'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.