Changeset 42648 for trunk/src/wp-admin/user-new.php
- Timestamp:
- 02/05/2018 02:29:53 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-new.php
r42343 r42648 13 13 if ( ! current_user_can( 'create_users' ) && ! current_user_can( 'promote_users' ) ) { 14 14 wp_die( 15 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .15 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' . 16 16 '<p>' . __( 'Sorry, you are not allowed to add users to this network.' ) . '</p>', 17 17 403 … … 20 20 } elseif ( ! current_user_can( 'create_users' ) ) { 21 21 wp_die( 22 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .22 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' . 23 23 '<p>' . __( 'Sorry, you are not allowed to create users.' ) . '</p>', 24 24 403 … … 53 53 if ( ! current_user_can( 'promote_user', $user_details->ID ) ) { 54 54 wp_die( 55 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .55 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' . 56 56 '<p>' . __( 'Sorry, you are not allowed to add users to this network.' ) . '</p>', 57 57 403 … … 137 137 if ( ! current_user_can( 'create_users' ) ) { 138 138 wp_die( 139 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .139 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' . 140 140 '<p>' . __( 'Sorry, you are not allowed to create users.' ) . '</p>', 141 141 403
Note: See TracChangeset
for help on using the changeset viewer.