Changeset 37914 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 06/29/2016 03:15:40 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/user-edit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r37488 r37914 78 78 && ! apply_filters( 'enable_edit_any_user_configuration', true ) 79 79 ) { 80 wp_die( __( ' You do not have permissionto edit this user.' ) );80 wp_die( __( 'Sorry, you are not allowed to edit this user.' ) ); 81 81 } 82 82 … … 111 111 112 112 if ( !current_user_can('edit_user', $user_id) ) 113 wp_die(__(' You do not have permissionto edit this user.'));113 wp_die(__('Sorry, you are not allowed to edit this user.')); 114 114 115 115 if ( IS_PROFILE_PAGE ) { … … 164 164 165 165 if ( !current_user_can('edit_user', $user_id) ) 166 wp_die(__(' You do not have permissionto edit this user.'));166 wp_die(__('Sorry, you are not allowed to edit this user.')); 167 167 168 168 $sessions = WP_Session_Tokens::get_instance( $profileuser->ID );
Note: See TracChangeset
for help on using the changeset viewer.