Changeset 40940 for trunk/src/wp-admin/network/site-users.php
- Timestamp:
- 06/25/2017 06:45:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-users.php
r40780 r40940 12 12 13 13 if ( ! current_user_can('manage_sites') ) 14 wp_die( __('Sorry, you are not allowed to edit this site.'));14 wp_die( __( 'Sorry, you are not allowed to edit this site.' ), 403 ); 15 15 16 16 $wp_list_table = _get_list_table('WP_Users_List_Table'); … … 116 116 case 'remove': 117 117 if ( ! current_user_can( 'remove_users' ) ) { 118 wp_die( __( 'Sorry, you are not allowed to remove users.' ) );118 wp_die( __( 'Sorry, you are not allowed to remove users.' ), 403 ); 119 119 } 120 120 … … 147 147 148 148 if ( empty( $editable_roles[ $role ] ) ) { 149 wp_die( __( 'Sorry, you are not allowed to give users that role.' ) );149 wp_die( __( 'Sorry, you are not allowed to give users that role.' ), 403 ); 150 150 } 151 151
Note: See TracChangeset
for help on using the changeset viewer.