Changeset 31658 for trunk/src/wp-admin/network/sites.php
- Timestamp:
- 03/07/2015 05:59:17 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/network/sites.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r31200 r31658 15 15 16 16 if ( ! current_user_can( 'manage_sites' ) ) 17 wp_die( __( 'You do not have permission to access this page.' ) );17 wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) ); 18 18 19 19 $wp_list_table = _get_list_table( 'WP_MS_Sites_List_Table' ); … … 98 98 case 'deleteblog': 99 99 if ( ! current_user_can( 'delete_sites' ) ) 100 wp_die( __( 'You do not have permission to access this page.' ) );100 wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) ); 101 101 102 102 $updated_action = 'not_deleted';
Note: See TracChangeset
for help on using the changeset viewer.