WordPress.org

Make WordPress Core

Changeset 37278


Ignore:
Timestamp:
04/21/2016 12:00:44 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Reflect the new 'user' option for wp_new_user_notification()'s $notify parameter added in [37276] in wp_send_new_user_notifications() docs as well.

Props ocean90.
Fixes #36009.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r37008 r37278  
    23112311 *
    23122312 * @since 4.4.0
     2313 * @since 4.6.0 The `$notify` parameter accepts 'user' for sending notification only to the user created.
    23132314 *
    23142315 * @param int    $user_id ID of the newly created user.
    23152316 * @param string $notify  Optional. Type of notification that should happen. Accepts 'admin' or an empty string
    2316  *                        (admin only), or 'both' (admin and user). Default 'both'.
     2317 *                        (admin only), 'user', or 'both' (admin and user). Default 'both'.
    23172318 */
    23182319function wp_send_new_user_notifications( $user_id, $notify = 'both' ) {
Note: See TracChangeset for help on using the changeset viewer.