Changeset 39907 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 01/15/2017 07:13:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r39538 r39907 26 26 wp_enqueue_script('user-profile'); 27 27 28 $title = IS_PROFILE_PAGE ? __('Profile') : __('Edit User'); 28 if ( IS_PROFILE_PAGE ) { 29 $title = __( 'Profile' ); 30 } else { 31 /* translators: %s: user's display name */ 32 $title = __( 'Edit User %s' ); 33 } 34 29 35 if ( current_user_can('edit_users') && !IS_PROFILE_PAGE ) 30 36 $submenu_file = 'users.php'; … … 167 173 wp_die(__('Sorry, you are not allowed to edit this user.')); 168 174 175 $title = sprintf( $title, $profileuser->display_name ); 169 176 $sessions = WP_Session_Tokens::get_instance( $profileuser->ID ); 170 177
Note: See TracChangeset
for help on using the changeset viewer.