Changeset 43152
- Timestamp:
- 05/03/2018 06:31:59 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/menu.php
r43098 r43152 245 245 $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' ); 246 246 $submenu['tools.php'][15] = array( __('Export'), 'export', 'export.php' ); 247 $submenu['tools.php'][20] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' );248 247 if ( is_multisite() && !is_main_site() ) 249 248 $submenu['tools.php'][25] = array( __('Delete Site'), 'delete_site', 'ms-delete-site.php' ); … … 258 257 $submenu['options-general.php'][30] = array(__('Media'), 'manage_options', 'options-media.php'); 259 258 $submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php'); 259 $submenu['options-general.php'][45] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' ); 260 260 261 261 $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group -
branches/4.9/src/wp-admin/privacy.php
r43149 r43152 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.