mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 22:24:36 +00:00
Privacy: rename manage_privacy_policy to manage_privacy_options.
Props desrosj. FIxes #43935. git-svn-id: https://develop.svn.wordpress.org/trunk@43155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -557,7 +557,7 @@ function map_meta_cap( $cap, $user_id ) {
|
||||
break;
|
||||
case 'export_others_personal_data':
|
||||
case 'erase_others_personal_data':
|
||||
case 'manage_privacy_policy':
|
||||
case 'manage_privacy_options':
|
||||
$caps[] = is_multisite() ? 'manage_network' : 'manage_options';
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user