diff --git src/wp-includes/ms-functions.php src/wp-includes/ms-functions.php
index 7c28844..1e0965b 100644
|
|
|
|
| 2149 | 2149 | |
| 2150 | 2150 | if ( ! is_wp_error( $result ) ) { |
| 2151 | 2151 | update_user_meta( $user_id, 'primary_blog', $blog_id ); |
| | 2152 | |
| | 2153 | /** |
| | 2154 | * Fires immediately after a new user is added to a site. |
| | 2155 | * |
| | 2156 | * @since 4.9.0 |
| | 2157 | * |
| | 2158 | * @param int $user_id User ID. |
| | 2159 | * @param int $blog_id Blog ID. |
| | 2160 | * @param string $password User password. |
| | 2161 | * @param array $meta Array of meta data from signup. |
| | 2162 | */ |
| | 2163 | do_action( 'added_new_user', $user_id, $blog_id, $password, $meta ); |
| 2152 | 2164 | } |
| 2153 | 2165 | } |
| 2154 | 2166 | } |