Changeset 16294 for trunk/wp-admin/menu.php
- Timestamp:
- 11/11/2010 02:29:15 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r16261 r16294 187 187 $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php. 188 188 $submenu['users.php'][5] = array(__('Users'), 'list_users', 'users.php'); 189 $submenu['users.php'][10] = array(_x('Add New', 'user'), ' create_users', 'user-new.php');189 $submenu['users.php'][10] = array(_x('Add New', 'user'), 'promote_users', 'user-new.php'); 190 190 191 191 $submenu['users.php'][15] = array(__('Your Profile'), 'read', 'profile.php'); … … 193 193 $_wp_real_parent_file['users.php'] = 'profile.php'; 194 194 $submenu['profile.php'][5] = array(__('Your Profile'), 'read', 'profile.php'); 195 $submenu['profile.php'][10] = array(__('Add New User'), ' create_users', 'user-new.php');195 $submenu['profile.php'][10] = array(__('Add New User'), 'promote_users', 'user-new.php'); 196 196 } 197 197
Note: See TracChangeset
for help on using the changeset viewer.