From 88717a5d0791656f756faf45ec4ca9e901934a5a Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Thu, 3 May 2018 16:40:31 +0000 Subject: [PATCH] Privacy: Move privacy policy page to `Settings` menu for consistency. The page was originally placed under `Tools` so that it would be grouped with the pages to export and erase personal data, since they're all part of the effort to bring privacy management tools to Core ahead of GDPR's deadline. After more consideration, though, it makes sense to move this page to the `Settings` menu, since it's fundamental purpose is to configure an option, rather than to facilitate a recurring task. This keeps all of the configuration pages in a single place, making them consistent and easier to find. Exporting and erasing personal data are recurring tasks, so they still make sense under the `Tools` menu. Props xkon, helen, melchoyce, allendav, desrosj, ocean90, azaozz. Fixes #43873. git-svn-id: https://develop.svn.wordpress.org/trunk@43145 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/menu.php | 2 +- src/wp-admin/privacy.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/menu.php b/src/wp-admin/menu.php index 51d9cac1a8..5b037c85f8 100644 --- a/src/wp-admin/menu.php +++ b/src/wp-admin/menu.php @@ -256,7 +256,6 @@ $menu[75] = array( __( 'Tools' ), 'edit_posts', 'tools.php', $submenu['tools.php'][5] = array( __( 'Available Tools' ), 'edit_posts', 'tools.php' ); $submenu['tools.php'][10] = array( __( 'Import' ), 'import', 'import.php' ); $submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' ); - $submenu['tools.php'][20] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' ); if ( is_multisite() && ! is_main_site() ) { $submenu['tools.php'][25] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' ); } @@ -271,6 +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_options', 'privacy.php' ); $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group diff --git a/src/wp-admin/privacy.php b/src/wp-admin/privacy.php index 47dced44b6..ea38c8e36a 100644 --- a/src/wp-admin/privacy.php +++ b/src/wp-admin/privacy.php @@ -1,6 +1,6 @@ add_help_tab( array( 'id' => 'privacy', 'title' => __( 'Privacy' ), - 'content' => '

' . __( 'This page provides tools with which you can manage your user’s personal data and site’s privacy policy.' ) . '

', + 'content' => '

' . __( 'This page provides settings with which you can manage your site’s privacy policy.' ) . '

', ) ); get_current_screen()->set_help_sidebar( @@ -123,8 +123,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

- +

@@ -205,7 +204,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); 'create-page' ) ); ?>