[wp-trac] [WordPress Trac] #44079: Require `manage_privacy_options` capability to edit the privacy policy page
WordPress Trac
noreply at wordpress.org
Tue May 15 03:06:16 UTC 2018
#44079: Require `manage_privacy_options` capability to edit the privacy policy page
-------------------------------------------------+-------------------------
Reporter: iandunn | Owner: iandunn
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9.6
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: gdpr has-patch 2nd-opinion needs- | Focuses:
unit-tests needs-testing |
-------------------------------------------------+-------------------------
Comment (by iandunn):
Ah, great catch, thanks!
[attachment:44079.2.diff] removes the filter callback and makes the
modifications directly in `map_meta_cap()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44079#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list