[wp-trac] [WordPress Trac] #47488: add "extensibility" to WP_Privacy_Requests_Table
WordPress Trac
noreply at wordpress.org
Wed Jun 5 20:09:01 UTC 2019
#47488: add "extensibility" to WP_Privacy_Requests_Table
-------------------------+-----------------------------
Reporter: pbiron | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+-----------------------------
`WP_Privacy_Requests_Table` (and its 2 sub-classes
`WP_Privacy_Data_Removal_Requests_List_Table` and
`WP_Privacy_Data_Export_Requests_List_Table`) lack some of the "extension"
points that other list tables (e.g., `WP_Posts_List_Table`) in core have.
A short list of what is missing includes:
* an `extra_tablenav()` method and the `restrict_manage_xxx` and
`manage_xxx_extra_tablenav` actions that accompany it
* the ability to add custom columns (via a `xxx_columns` filter)
* the ability to add/remove row actions (via a `xxx_row_actions` filter)
* the ability to add "display states" (via a `display_xxx_states` filter)
I do **not** have a concrete use-case for needing any of the above **at
this time**, but feel that **all** core list tables should support them
**unless there is a concrete reason not to**.
I'll add a patch shortly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47488>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list