WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/20/2020 08:37:31 AM (18 months ago)
Author:
SergeyBiryukov
Message:

Users: Change "Your Profile" and "My Profile" links in admin menu and toolbar to just "Profile" for consistency.

Props donmhico, bcworkz, seanchayes, mikeschroder, garrett-eclipse, akhileshsabharwal, ScottSmith, nacin, jenmylo, afercia, swissspidy, felix-edelmann, helen, melchoyce, karmatosed.
Fixes #26769.

File:
1 edited

Legend:

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

    r47550 r47600  
    265265    }
    266266
    267     $submenu['users.php'][15] = array( __( 'Your Profile' ), 'read', 'profile.php' );
     267    $submenu['users.php'][15] = array( __( 'Profile' ), 'read', 'profile.php' );
    268268} else {
    269269    $_wp_real_parent_file['users.php'] = 'profile.php';
    270     $submenu['profile.php'][5]         = array( __( 'Your Profile' ), 'read', 'profile.php' );
     270    $submenu['profile.php'][5]         = array( __( 'Profile' ), 'read', 'profile.php' );
    271271    if ( current_user_can( 'create_users' ) ) {
    272272        $submenu['profile.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
Note: See TracChangeset for help on using the changeset viewer.