Changeset 37914 for trunk/src/wp-admin/network/users.php
- Timestamp:
- 06/29/2016 03:15:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/users.php
r37680 r37914 15 15 16 16 if ( ! current_user_can( 'manage_network_users' ) ) 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 if ( isset( $_GET['action'] ) ) { … … 24 24 case 'deleteuser': 25 25 if ( ! current_user_can( 'manage_network_users' ) ) 26 wp_die( __( ' You do not have permissionto access this page.' ), 403 );26 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 27 27 28 28 check_admin_referer( 'deleteuser' ); … … 45 45 case 'allusers': 46 46 if ( !current_user_can( 'manage_network_users' ) ) 47 wp_die( __( ' You do not have permissionto access this page.' ), 403 );47 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 48 48 49 49 if ( ( isset( $_POST['action']) || isset($_POST['action2'] ) ) && isset( $_POST['allusers'] ) ) { … … 58 58 case 'delete': 59 59 if ( ! current_user_can( 'delete_users' ) ) 60 wp_die( __( ' You do not have permissionto access this page.' ), 403 );60 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 61 61 $title = __( 'Users' ); 62 62 $parent_file = 'users.php'; … … 107 107 check_admin_referer( 'ms-users-delete' ); 108 108 if ( ! ( current_user_can( 'manage_network_users' ) && current_user_can( 'delete_users' ) ) ) 109 wp_die( __( ' You do not have permissionto access this page.' ), 403 );109 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 110 110 111 111 if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.