Changeset 25183
- Timestamp:
- 08/30/2013 04:28:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r25127 r25183 900 900 return false; 901 901 902 $user = new WP_User( $user_id );903 904 902 // Newly created users have no roles or caps until they are added to a blog. 905 delete_user_option( $user_id, $user->cap_key);903 delete_user_option( $user_id, 'capabilities' ); 906 904 delete_user_option( $user_id, 'user_level' ); 907 905
Note: See TracChangeset
for help on using the changeset viewer.