]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/users.php
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-admin / network / users.php
index 4e56ca3339df377d9b7ae3eeeeaebc8b65466d62..cc3edc2ca34e29076ef9fc1819218ac6c0ea394a 100644 (file)
@@ -14,7 +14,7 @@ if ( ! is_multisite() )
        wp_die( __( 'Multisite support is not enabled.' ) );
 
 if ( ! current_user_can( 'manage_network_users' ) )
        wp_die( __( 'Multisite support is not enabled.' ) );
 
 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 ( isset( $_GET['action'] ) ) {
        /** This action is documented in wp-admin/network/edit.php */
 
 if ( isset( $_GET['action'] ) ) {
        /** This action is documented in wp-admin/network/edit.php */
@@ -23,7 +23,7 @@ if ( isset( $_GET['action'] ) ) {
        switch ( $_GET['action'] ) {
                case 'deleteuser':
                        if ( ! current_user_can( 'manage_network_users' ) )
        switch ( $_GET['action'] ) {
                case 'deleteuser':
                        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 );
 
                        check_admin_referer( 'deleteuser' );
 
 
                        check_admin_referer( 'deleteuser' );
 
@@ -44,7 +44,7 @@ if ( isset( $_GET['action'] ) ) {
 
                case 'allusers':
                        if ( !current_user_can( 'manage_network_users' ) )
 
                case 'allusers':
                        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 ( ( isset( $_POST['action']) || isset($_POST['action2'] ) ) && isset( $_POST['allusers'] ) ) {
                                check_admin_referer( 'bulk-users-network' );
 
                        if ( ( isset( $_POST['action']) || isset($_POST['action2'] ) ) && isset( $_POST['allusers'] ) ) {
                                check_admin_referer( 'bulk-users-network' );
@@ -57,7 +57,7 @@ if ( isset( $_GET['action'] ) ) {
                                                switch ( $doaction ) {
                                                        case 'delete':
                                                                if ( ! current_user_can( 'delete_users' ) )
                                                switch ( $doaction ) {
                                                        case 'delete':
                                                                if ( ! current_user_can( 'delete_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 );
                                                                $title = __( 'Users' );
                                                                $parent_file = 'users.php';
                                                                require_once( ABSPATH . 'wp-admin/admin-header.php' );
                                                                $title = __( 'Users' );
                                                                $parent_file = 'users.php';
                                                                require_once( ABSPATH . 'wp-admin/admin-header.php' );
@@ -106,7 +106,7 @@ if ( isset( $_GET['action'] ) ) {
                case 'dodelete':
                        check_admin_referer( 'ms-users-delete' );
                        if ( ! ( current_user_can( 'manage_network_users' ) && current_user_can( 'delete_users' ) ) )
                case 'dodelete':
                        check_admin_referer( 'ms-users-delete' );
                        if ( ! ( current_user_can( 'manage_network_users' ) && current_user_can( 'delete_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 ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) {
                                foreach ( $_POST['blog'] as $id => $users ) {
 
                        if ( ! empty( $_POST['blog'] ) && is_array( $_POST['blog'] ) ) {
                                foreach ( $_POST['blog'] as $id => $users ) {
@@ -161,7 +161,7 @@ get_current_screen()->add_help_tab( array(
                '<p>' . __('This table shows all users across the network and the sites to which they are assigned.') . '</p>' .
                '<p>' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to their Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '</p>' .
                '<p>' . __('You can also go to the user&#8217;s profile page by clicking on the individual username.') . '</p>' .
                '<p>' . __('This table shows all users across the network and the sites to which they are assigned.') . '</p>' .
                '<p>' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to their Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '</p>' .
                '<p>' . __('You can also go to the user&#8217;s profile page by clicking on the individual username.') . '</p>' .
-               '<p>' . __('You can sort the table by clicking on any of the bold headings and switch between list and excerpt views by using the icons in the upper right.') . '</p>' .
+               '<p>' . __( 'You can sort the table by clicking on any of the table headings and switch between list and excerpt views by using the icons above the users list.' ) . '</p>' .
                '<p>' . __('The bulk action will permanently delete selected users, or mark/unmark those selected as spam. Spam users will have posts removed and will be unable to sign up again with the same email addresses.') . '</p>' .
                '<p>' . __('You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege.') . '</p>'
 ) );
                '<p>' . __('The bulk action will permanently delete selected users, or mark/unmark those selected as spam. Spam users will have posts removed and will be unable to sign up again with the same email addresses.') . '</p>' .
                '<p>' . __('You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege.') . '</p>'
 ) );