[wp-trac] [WordPress Trac] #49715: Alternate views for WP List Tables

WordPress Trac noreply at wordpress.org
Sun Jul 12 11:34:56 UTC 2020


#49715: Alternate views for WP List Tables
----------------------------+--------------------------------
 Reporter:  joedolson       |       Owner:  audrasjb
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  5.5
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, accessibility
----------------------------+--------------------------------

Comment (by SergeyBiryukov):

 I think this would benefit from a dedicated `WP_List_Table` class property
 and method for setting the mode, instead of relying on the `$mode` global
 and doing things a bit differently in each class.

 Additionally, there seems to be some overlap between
 `WP_List_Table::view_switcher()` and `WP_Screen::render_view_mode()`,
 might be a good idea to review them closer.

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


More information about the wp-trac mailing list