[wp-trac] [WordPress Trac] #44055: Don't show notice to the privacy policy guide when user cannot view the guide
WordPress Trac
noreply at wordpress.org
Sun May 13 14:31:24 UTC 2018
#44055: Don't show notice to the privacy policy guide when user cannot view the
guide
-------------------------------------------------+-----------------------
Reporter: ocean90 | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 4.9.6
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: gdpr fixed-major commit 2nd-opinion | Focuses:
-------------------------------------------------+-----------------------
Changes (by iandunn):
* keywords: gdpr fixed-major commit => gdpr fixed-major commit 2nd-opinion
Comment:
Hmm, should editors be allowed to edit the `wp_page_for_privacy_policy` ?
I'm guessing no, so maybe a better solution to this would be to add a
`map_meta_cap` callback that makes `current_user_can( 'edit_post',
get_option( 'wp_page_for_privacy_policy' ) )` return `false`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44055#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list