Changeset 45715 for trunk/src/wp-includes/user.php
- Timestamp:
- 08/01/2019 05:48:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r45714 r45715 1854 1854 $user->set_role( get_option( 'default_role' ) ); 1855 1855 } 1856 wp_cache_delete( $user_id, 'users' ); 1857 wp_cache_delete( $user_login, 'userlogins');1856 1857 clean_user_cache( $user_id ); 1858 1858 1859 1859 if ( $update ) { … … 1981 1981 } 1982 1982 1983 wp_cache_delete( $user['user_email'], 'useremail' ); 1984 wp_cache_delete( $user['user_nicename'], 'userslugs' ); 1983 clean_user_cache( $user_obj ); 1985 1984 1986 1985 // Merge old and new fields with new fields overwriting old ones.
Note: See TracChangeset
for help on using the changeset viewer.