Opened 13 months ago
Last modified 7 months ago
#45154 new enhancement
Convert Privacy Policy content to indexed array and filter array to allow easy unsetting.
Reported by: | garrett-eclipse | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Privacy | Keywords: | |
Focuses: | Cc: | ||
PR Number: |
Description
Following a discussion from #45151 it would be nice to investigate the privacy policy content to see if it can be converted to an indexed array for easier manipulation through a new filter run prior to the foreach so that plugins/devs can add content or adjust the array without having to worry about the block editor markup.
Comment - https://core.trac.wordpress.org/ticket/45151?replyto=8#comment:8
Change History (4)
This ticket was mentioned in Slack in #core-privacy by desrosj. View the logs.
11 months ago
Note: See
TracTickets for help on using
tickets.
From Discussion in Slack - https://wordpress.slack.com/archives/C9695RJBW/p1543249228486600
The idea with this ticket is to have the content be an indexed array (multidimensional array) which uses the plugin slug as it's key/index so custom code can easily unset if desired.