Ticket #26769: 26769.patch
File 26769.patch, 834 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/menu.php
192 192 else 193 193 $submenu['users.php'][10] = array(_x('Add New', 'user'), 'promote_users', 'user-new.php'); 194 194 195 $submenu['users.php'][15] = array(__(' YourProfile'), 'read', 'profile.php');195 $submenu['users.php'][15] = array(__('My Profile'), 'read', 'profile.php'); 196 196 } else { 197 197 $_wp_real_parent_file['users.php'] = 'profile.php'; 198 $submenu['profile.php'][5] = array(__(' YourProfile'), 'read', 'profile.php');198 $submenu['profile.php'][5] = array(__('My Profile'), 'read', 'profile.php'); 199 199 if ( current_user_can('create_users') ) 200 200 $submenu['profile.php'][10] = array(__('Add New User'), 'create_users', 'user-new.php'); 201 201 else