WordPress.org

Make WordPress Core

Ticket #26769: 26769.patch.diff

File 26769.patch.diff, 1.4 KB (added by seanchayes, 6 years ago)
  • src/wp-admin/menu.php

     
    182182if ( current_user_can('list_users') )
    183183        $menu[70] = array( __('Users'), 'list_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'none' );
    184184else
    185         $menu[70] = array( __('Profile'), 'read', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'none' );
     185        $menu[70] = array( __('My Profile'), 'read', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'none' );
    186186
    187187if ( current_user_can('list_users') ) {
    188188        $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
     
    192192        else
    193193                $submenu['users.php'][10] = array(_x('Add New', 'user'), 'promote_users', 'user-new.php');
    194194
    195         $submenu['users.php'][15] = array(__('Your Profile'), 'read', 'profile.php');
     195        $submenu['users.php'][15] = array(__('My Profile'), 'read', 'profile.php');
    196196} else {
    197197        $_wp_real_parent_file['users.php'] = 'profile.php';
    198         $submenu['profile.php'][5] = array(__('Your Profile'), 'read', 'profile.php');
     198        $submenu['profile.php'][5] = array(__('My Profile'), 'read', 'profile.php');
    199199        if ( current_user_can('create_users') )
    200200                $submenu['profile.php'][10] = array(__('Add New User'), 'create_users', 'user-new.php');
    201201        else