diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index cca5a1ea70..091ed7a083 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -175,6 +175,8 @@ class WP_Posts_List_Table extends WP_List_Table { if ( $this->hierarchical_display ) { $total_items = $wp_query->post_count; + } elseif ( isset( $_REQUEST['s'] ) ) { + $total_items = $wp_query->found_posts; } else { $post_counts = (array) wp_count_posts( $post_type, 'readable' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 37d733c11c..8c6a6d5b98 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta3-35621'; +$wp_version = '4.4-beta3-35622'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.