Changeset 40940 for trunk/src/wp-admin/includes/user.php
- Timestamp:
- 06/25/2017 06:45:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r40127 r40940 60 60 $editable_roles = get_editable_roles(); 61 61 if ( ! empty( $new_role ) && empty( $editable_roles[$new_role] ) ) 62 wp_die( __('You can’t give users that role.'));62 wp_die( __( 'Sorry, you are not allowed to give users that role.' ), 403 ); 63 63 } 64 64
Note: See TracChangeset
for help on using the changeset viewer.