diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 1779887d94..cfbe8e37ae 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -183,6 +183,7 @@ class WP_Posts_List_Table extends WP_List_Table { $class = ' class="current"'; $status_links['mine'] = "" . sprintf( _nx( 'Mine (%s)', 'Mine (%s)', $this->user_posts_count, 'posts' ), number_format_i18n( $this->user_posts_count ) ) . ''; $allposts = '&all_posts=1'; + $class = ''; } $total_posts = array_sum( (array) $num_posts ); @@ -191,7 +192,7 @@ class WP_Posts_List_Table extends WP_List_Table { foreach ( get_post_stati( array('show_in_admin_all_list' => false) ) as $state ) $total_posts -= $num_posts->$state; - if ( empty( $class ) && $this->is_base_request() ) { + if ( empty( $class ) && $this->is_base_request() && ! $this->user_posts_count ) { $class = ' class="current"'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index d20cef5bee..70ba232267 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta3-31958'; +$wp_version = '4.2-beta3-31959'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.