[wp-trac] [WordPress Trac] #56599: "All" view not selected for all relevant views for custom post type

WordPress Trac noreply at wordpress.org
Mon Sep 19 10:58:34 UTC 2022


#56599: "All" view not selected for all relevant views for custom post type
--------------------------+-----------------------------
 Reporter:  alpipego      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When the screen options get saved, the parameter `mode=list` gets appended
 to the URL. For the posts table, the “All” view gets the `.current` HTML
 class, since `\WP_Posts_List_Table::is_base_request()` returns `true`. For
 all other post types—including pages—it returns `false`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56599>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list