]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/user-new.php
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-admin / network / user-new.php
index 8381e4d8a68f7af656c16b205d3aada6a260597d..fae3fcb0039f2ff93d88ac150b8032730013912c 100644 (file)
@@ -14,7 +14,7 @@ if ( ! is_multisite() )
        wp_die( __( 'Multisite support is not enabled.' ) );
 
 if ( ! current_user_can('create_users') )
-       wp_die(__('You do not have sufficient permissions to add users to this network.'));
+       wp_die(__('Sorry, you are not allowed to add users to this network.'));
 
 get_current_screen()->add_help_tab( array(
        'id'      => 'overview',
@@ -34,7 +34,7 @@ if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) {
        check_admin_referer( 'add-user', '_wpnonce_add-user' );
 
        if ( ! current_user_can( 'manage_network_users' ) )
-               wp_die( __( 'You do not have permission to access this page.' ), 403 );
+               wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
 
        if ( ! is_array( $_POST['user'] ) )
                wp_die( __( 'Cannot create an empty user.' ) );