diff --git a/wp-admin/menu.php b/wp-admin/menu.php index fd49433208..0ad302ebda 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -270,7 +270,7 @@ $menu[80] = array( __( 'Settings' ), 'manage_optio $submenu['options-general.php'][25] = array( __( 'Discussion' ), 'manage_options', 'options-discussion.php' ); $submenu['options-general.php'][30] = array( __( 'Media' ), 'manage_options', 'options-media.php' ); $submenu['options-general.php'][40] = array( __( 'Permalinks' ), 'manage_options', 'options-permalink.php' ); - $submenu['options-general.php'][45] = array( __( 'Privacy' ), 'manage_privacy_policy', 'privacy.php' ); + $submenu['options-general.php'][45] = array( __( 'Privacy' ), 'manage_privacy_options', 'privacy.php' ); $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group diff --git a/wp-admin/privacy.php b/wp-admin/privacy.php index 399467e229..d1e20f767b 100644 --- a/wp-admin/privacy.php +++ b/wp-admin/privacy.php @@ -9,7 +9,7 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -if ( ! current_user_can( 'manage_privacy_policy' ) ) { +if ( ! current_user_can( 'manage_privacy_options' ) ) { wp_die( __( 'Sorry, you are not allowed to manage privacy on this site.' ) ); } @@ -200,7 +200,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );