IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
206 | 206 | * @param int $blog_id Blog ID. |
207 | 207 | */ |
208 | 208 | do_action( 'add_user_to_blog', $user_id, $role, $blog_id ); |
209 | | wp_cache_delete( $user_id, 'users' ); |
| 209 | clean_user_cache( $user_id ); |
210 | 210 | wp_cache_delete( $blog_id . '_user_count', 'blog-details' ); |
211 | 211 | restore_current_blog(); |
212 | 212 | return true; |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
2504 | 2504 | array( 'ID' => $user_id ) |
2505 | 2505 | ); |
2506 | 2506 | |
2507 | | wp_cache_delete( $user_id, 'users' ); |
| 2507 | clean_user_cache( $user_id ); |
2508 | 2508 | } |
2509 | 2509 | endif; |
2510 | 2510 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1830 | 1830 | } elseif ( ! $update ) { |
1831 | 1831 | $user->set_role( get_option( 'default_role' ) ); |
1832 | 1832 | } |
1833 | | wp_cache_delete( $user_id, 'users' ); |
1834 | | wp_cache_delete( $user_login, 'userlogins' ); |
| 1833 | |
| 1834 | clean_user_cache( $user_id ); |
1835 | 1835 | |
1836 | 1836 | if ( $update ) { |
1837 | 1837 | /** |