diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 26d66cd2fa..930d1897f7 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -375,11 +375,11 @@ function get_comment_count( $post_id = 0 ) { $comment_count['spam'] = $row['total']; $comment_count["total_comments"] += $row['total']; break; - case 1: + case '1': $comment_count['approved'] = $row['total']; $comment_count['total_comments'] += $row['total']; break; - case 0: + case '0': $comment_count['awaiting_moderation'] = $row['total']; $comment_count['total_comments'] += $row['total']; break; diff --git a/wp-includes/version.php b/wp-includes/version.php index 56d206d0c5..8636f67fdd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33805'; +$wp_version = '4.4-alpha-33806'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.