diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 186a6e5a7..ee536a510 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -368,7 +368,7 @@ if ( $page_links )
- +

diff --git a/wp-includes/post.php b/wp-includes/post.php index 7d5a1c6b7..65af2dcf2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -983,7 +983,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) { $count = $wpdb->get_results( $wpdb->prepare( $query, $type ), ARRAY_A ); - $stats = array( ); + $stats = array( 'publish' => 0, 'private' => 0, 'draft' => 0, 'pending' => 0, 'future' => 0 ); foreach( (array) $count as $row_num => $row ) { $stats[$row['post_status']] = $row['num_posts']; }