Make WordPress Core


Ignore:
Timestamp:
02/11/2020 09:46:54 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Revert [47269] for now to address side effects on Multisite installations.

See #44176.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu.php

    r47269 r47280  
    289289}
    290290
    291 $menu[80] = array( __( 'Settings' ), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
    292 if ( current_user_can( 'manage_privacy_options' ) && ! current_user_can( 'manage_options' ) ) {
    293     $menu[80] = array( __( 'Settings' ), 'manage_privacy_options', 'options-privacy.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
    294 }
    295 
     291$menu[80]                               = array( __( 'Settings' ), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
    296292    $submenu['options-general.php'][10] = array( _x( 'General', 'settings screen' ), 'manage_options', 'options-general.php' );
    297293    $submenu['options-general.php'][15] = array( __( 'Writing' ), 'manage_options', 'options-writing.php' );
Note: See TracChangeset for help on using the changeset viewer.