mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
Posts List Table: ensure that "All" gets the "current" CSS class when applicable.
Props afercia. Fixes #19609. Built from https://develop.svn.wordpress.org/trunk@34889 git-svn-id: http://core.svn.wordpress.org/trunk@34854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
27fd5b762b
commit
7547dc5125
@ -326,7 +326,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
$class = '';
|
||||
}
|
||||
|
||||
if ( empty( $class ) && ( ( $this->is_base_request() && ! $this->user_posts_count ) || isset( $_REQUEST['all_posts'] ) ) ) {
|
||||
if ( empty( $class ) && ( $this->is_base_request() || isset( $_REQUEST['all_posts'] ) ) ) {
|
||||
$class = 'current';
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34888';
|
||||
$wp_version = '4.4-alpha-34889';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user