Changeset 39308 for trunk/src/wp-admin/users.php
- Timestamp:
- 11/19/2016 01:37:25 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/users.php
r39258 r39308 95 95 96 96 if ( ! current_user_can( 'promote_users' ) ) 97 wp_die( __( 'Sorry, you are not allowed to edit th atuser.' ) );97 wp_die( __( 'Sorry, you are not allowed to edit this user.' ) ); 98 98 99 99 if ( empty($_REQUEST['users']) ) { … … 120 120 121 121 if ( ! current_user_can('promote_user', $id) ) 122 wp_die(__('Sorry, you are not allowed to edit th atuser.'));122 wp_die(__('Sorry, you are not allowed to edit this user.')); 123 123 // The new role of the current user must also have the promote_users cap or be a multisite super admin 124 124 if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $role ]->has_cap('promote_users')
Note: See TracChangeset
for help on using the changeset viewer.