Changeset 42719 for trunk/src/wp-admin/users.php
- Timestamp:
- 02/19/2018 02:12:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/users.php
r42648 r42719 13 13 if ( ! current_user_can( 'list_users' ) ) { 14 14 wp_die( 15 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .15 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 16 16 '<p>' . __( 'Sorry, you are not allowed to list users.' ) . '</p>', 17 17 403 … … 142 142 if ( is_multisite() && ! is_user_member_of_blog( $id ) ) { 143 143 wp_die( 144 '<h1>' . __( ' An error has occurred.' ) . '</h1>' .144 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 145 145 '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>', 146 146 403
Note: See TracChangeset
for help on using the changeset viewer.