Changeset 43145
- Timestamp:
- 05/03/2018 04:40:31 PM (6 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r42814 r43145 257 257 $submenu['tools.php'][10] = array( __( 'Import' ), 'import', 'import.php' ); 258 258 $submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' ); 259 $submenu['tools.php'][20] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' );260 259 if ( is_multisite() && ! is_main_site() ) { 261 260 $submenu['tools.php'][25] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' ); … … 272 271 $submenu['options-general.php'][30] = array( __( 'Media' ), 'manage_options', 'options-media.php' ); 273 272 $submenu['options-general.php'][40] = array( __( 'Permalinks' ), 'manage_options', 'options-permalink.php' ); 273 $submenu['options-general.php'][45] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' ); 274 274 275 275 $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group -
trunk/src/wp-admin/privacy.php
r43132 r43145 1 1 <?php 2 2 /** 3 * Privacy Tools Screen.3 * Privacy Settings Screen. 4 4 * 5 5 * @package WordPress … … 112 112 'id' => 'privacy', 113 113 'title' => __( 'Privacy' ), 114 'content' => '<p>' . __( 'This page provides tools with which you can manage your user’s personal data andsite’s privacy policy.' ) . '</p>',114 'content' => '<p>' . __( 'This page provides settings with which you can manage your site’s privacy policy.' ) . '</p>', 115 115 ) ); 116 116 … … 124 124 ?> 125 125 <div class="wrap"> 126 <h1><?php _e( 'Privacy Tools' ); ?></h1> 127 <?php settings_errors(); ?> 126 <h1><?php _e( 'Privacy Settings' ); ?></h1> 128 127 <h2><?php _e( 'Privacy Policy page' ); ?></h2> 129 128 <p> … … 206 205 <?php 207 206 wp_nonce_field( 'create-privacy-page' ); 208 207 209 208 submit_button( __( 'Create New Page' ), 'primary', 'submit', false, array( 'id' => 'create-page' ) ); 210 209 ?>
Note: See TracChangeset
for help on using the changeset viewer.