Make WordPress Core

Ticket #43873: 43873.diff

File 43873.diff, 1.2 KB (added by xkon, 6 years ago)
  • src/wp-admin/menu.php

     
    256256        $submenu['tools.php'][5]  = array( __( 'Available Tools' ), 'edit_posts', 'tools.php' );
    257257        $submenu['tools.php'][10] = array( __( 'Import' ), 'import', 'import.php' );
    258258        $submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' );
    259         $submenu['tools.php'][20] = array( __( 'Privacy' ), 'manage_options', 'privacy.php' );
    260259if ( is_multisite() && ! is_main_site() ) {
    261260        $submenu['tools.php'][25] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' );
    262261}
     
    271270        $submenu['options-general.php'][25] = array( __( 'Discussion' ), 'manage_options', 'options-discussion.php' );
    272271        $submenu['options-general.php'][30] = array( __( 'Media' ), 'manage_options', 'options-media.php' );
    273272        $submenu['options-general.php'][40] = array( __( 'Permalinks' ), 'manage_options', 'options-permalink.php' );
     273        $submenu['options-general.php'][45] = array( __( 'Privacy Notice' ), 'manage_options', 'privacy.php' );
    274274
    275275$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
    276276