[wp-trac] [WordPress Trac] #19609: Show the 'Mine' filter on the manage posts screen for all users
WordPress Trac
noreply at wordpress.org
Tue Oct 6 15:45:48 UTC 2015
#19609: Show the 'Mine' filter on the manage posts screen for all users
-----------------------------------------+-----------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-screenshots has-patch | Focuses: administration
-----------------------------------------+-----------------------------
Changes (by afercia):
* status: closed => reopened
* resolution: fixed =>
Comment:
Looks like the "All" link doesn't get the `.current` CSS class anymore:
[[Image(https://cldup.com/qR0-6W81Nr.png)]]
probably the conditional in this bit of code should be changed since now
`$this->user_posts_count` returns a count value for all users not just for
authors.
{{{
if ( empty( $class ) && ( ( $this->is_base_request() && !
$this->user_posts_count ) || isset( $_REQUEST['all_posts'] ) ) ) {
$class = 'current';
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19609#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list