[wp-trac] [WordPress Trac] #18449: List Table Factory Needs to be Pluggable
WordPress Trac
noreply at wordpress.org
Tue Oct 4 03:45:53 UTC 2022
#18449: List Table Factory Needs to be Pluggable
-------------------------------------------------+-------------------------
Reporter: miqrogroove | Owner:
| peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Administration | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note add-to- | Focuses:
field-guide |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54378" 54378]:
{{{
#!CommitTicketReference repository="" revision="54378"
Administration: Remove private delegation from list tables.
Remove the private delegation from the following classes and function:
* `WP_List_Table`
* `WP_Application_Passwords_List_Table`
* `WP_Comments_List_Table`
* `WP_Links_List_Table`
* `WP_Media_List_Table`
* `WP_MS_Sites_List_Table`
* `WP_MS_Themes_List_Table`
* `WP_MS_Users_List_Table`
* `WP_Plugin_Install_List_Table`
* `WP_Plugins_List_Table`
* `WP_Post_Comments_List_Table`
* `WP_Posts_List_Table`
* `WP_Terms_List_Table`
* `WP_Theme_Install_List_Table`
* `WP_Themes_List_Table`
* `WP_Users_List_Table`
* `_get_list_table()`
This change is to reflect the reality that list tables are very, very,
very widely used by extenders and backward compatibility therefore needs
to be maintained.
Introduces the filter `wp_list_table_class_name` within
`_get_list_table()` to allow extenders to modify the list table returned
for custom screens.
Props audrasjb, birgire, costdev, desrosj, faison, johnbillion, jrbeilke,
kurtpayne, milana_cap, miqrogroove, nacin, peterwilsoncc, scribu,
sergeybiryukov, sirzooro, westonruter, wonderboymusic.
Fixes #18449.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18449#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list