diff --git a/wp-includes/user.php b/wp-includes/user.php index 69cc86c0d6..2af846c7b4 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -2310,10 +2310,11 @@ function register_new_user( $user_login, $user_email ) { * Notifications are sent both to the site admin and to the newly created user. * * @since 4.4.0 + * @since 4.6.0 The `$notify` parameter accepts 'user' for sending notification only to the user created. * * @param int $user_id ID of the newly created user. * @param string $notify Optional. Type of notification that should happen. Accepts 'admin' or an empty string - * (admin only), or 'both' (admin and user). Default 'both'. + * (admin only), 'user', or 'both' (admin and user). Default 'both'. */ function wp_send_new_user_notifications( $user_id, $notify = 'both' ) { wp_new_user_notification( $user_id, null, $notify ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 99474ffbe8..48aaa52192 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37277'; +$wp_version = '4.6-alpha-37278'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.