[wp-trac] [WordPress Trac] #49715: Alternate views for WP List Tables
WordPress Trac
noreply at wordpress.org
Fri Jul 10 17:08:10 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):
It's not quite clear why the `table_view_mode` filter is only applied in:
* `WP_Screen::render_view_mode()`
* `WP_List_Table::get_table_classes()`
* `WP_Posts_List_Table::get_table_classes()`
but not in other places whether the mode is referenced.
Is that enough for the mode switching to work as expected on all affected
tables? Is there enough context for the filter?
I also agree with comment:30 that the `wp_table_view_modes` name might be
better suited for a filterable list of modes, rather than an action that
fires after the core's default modes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49715#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list