Changeset 33888 for trunk/src/wp-admin/network/site-users.php
- Timestamp:
- 09/03/2015 09:02:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-users.php
r33641 r33888 137 137 138 138 // If the user doesn't already belong to the blog, bail. 139 if ( !is_user_member_of_blog( $user_id ) ) 140 wp_die( __( 'Cheatin’ uh?' ), 403 ); 139 if ( ! is_user_member_of_blog( $user_id ) ) { 140 wp_die( 141 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 142 '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>', 143 403 144 ); 145 } 141 146 142 147 $user = get_userdata( $user_id );
Note: See TracChangeset
for help on using the changeset viewer.