[wp-trac] [WordPress Trac] #43481: Add tabs and placeholders to privacy tools page in wp-admin
WordPress Trac
noreply at wordpress.org
Wed Apr 11 13:40:20 UTC 2018
#43481: Add tabs and placeholders to privacy tools page in wp-admin
-------------------------------------------------+-------------------------
Reporter: xkon | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch ui-feedback ux- | Focuses: ui,
feedback | administration
-------------------------------------------------+-------------------------
Comment (by azaozz):
Now that we have CPTs for the privacy requests, thinking we should store
the actual requests in them too and stop using the options and user_meta
tables. Posts are the most powerful "storage object" in WP and can
organize and store data in many different ways: post_content,
post_excerpt, post_content_filtered, etc. can all be used for... anything
:)
On top of that there is "unlimited" post_meta that can be accessed by
post_id or by meta_name. For example we can store unconfirmed requests in
post meta and use something like `_wp_pending_privacy_request` where value
will be the hash. Then we will be able to query the post meta table and
get an array with all keys with that name, and compare the hash.
Few other TODOs that we were discussing in Slack at some point:
- Requests (new, pending, completed) should not be deletable. This is
important for keeping audit log. The only exception may be be requests
that haven't been confirmed by email, but then we can auto-delete them
when the link in the email expires (and they become unusable).
- Where to add actions and filters so plugins can easily extend this
functionality.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43481#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list