Changeset 37914 for trunk/src/wp-admin/network/sites.php
- Timestamp:
- 06/29/2016 03:15:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r37488 r37914 15 15 16 16 if ( ! current_user_can( 'manage_sites' ) ) 17 wp_die( __( ' You do not have permissionto access this page.' ), 403 );17 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 18 18 19 19 $wp_list_table = _get_list_table( 'WP_MS_Sites_List_Table' ); … … 92 92 93 93 if ( $current_site->blog_id == $id ) { 94 wp_die( __( ' You are not allowed to change the current site.' ) );94 wp_die( __( 'Sorry, you are not allowed to change the current site.' ) ); 95 95 } 96 96 … … 127 127 case 'deleteblog': 128 128 if ( ! current_user_can( 'delete_sites' ) ) 129 wp_die( __( ' You do not have permissionto access this page.' ), '', array( 'response' => 403 ) );129 wp_die( __( 'Sorry, you are not allowed to access this page.' ), '', array( 'response' => 403 ) ); 130 130 131 131 $updated_action = 'not_deleted'; … … 145 145 case 'delete': 146 146 if ( ! current_user_can( 'delete_site', $val ) ) 147 wp_die( __( ' You are not allowed to delete the site.' ) );147 wp_die( __( 'Sorry, you are not allowed to delete the site.' ) ); 148 148 149 149 $updated_action = 'all_delete'; … … 158 158 } 159 159 } else { 160 wp_die( __( ' You are not allowed to change the current site.' ) );160 wp_die( __( 'Sorry, you are not allowed to change the current site.' ) ); 161 161 } 162 162 } … … 238 238 break; 239 239 case 'not_deleted': 240 $msg = __( ' You do not have permissionto delete that site.' );240 $msg = __( 'Sorry, you are not allowed to delete that site.' ); 241 241 break; 242 242 case 'archiveblog':
Note: See TracChangeset
for help on using the changeset viewer.