[wp-trac] [WordPress Trac] #24869: "All" in post list table is incorrectly selected in some filtered views

WordPress Trac noreply at wordpress.org
Wed Apr 1 16:17:04 UTC 2015


#24869: "All" in post list table is incorrectly selected in some filtered views
-------------------------------------+---------------------------------
 Reporter:  enej                     |       Owner:  wonderboymusic
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.2
Component:  Posts, Post Types        |     Version:  3.5.2
 Severity:  minor                    |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  ui, administration
-------------------------------------+---------------------------------
Changes (by wonderboymusic):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31959"]:
 {{{
 #!CommitTicketReference repository="" revision="31959"
 In `WP_Posts_List_Table::get_views()`, don't add the `current` class to
 the `all` status link if `->user_posts_count` has a value, which triggers
 the additional `mine` status.

 See [31828].
 Fixes #24869.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24869#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list