WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/20/2016 07:32:05 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Fix formatting, tense, verb conjugation, and other syntax for wp-includes/* elements introduced or changed in 4.6.

Part 2/2.

Fixes #37318.

File:
1 edited

Legend:

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

    r37985 r38125  
    23342334
    23352335/**
    2336  * Initiate email notifications related to the creation of new users.
     2336 * Initiates email notifications related to the creation of new users.
    23372337 *
    23382338 * Notifications are sent both to the site admin and to the newly created user.
    23392339 *
    23402340 * @since 4.4.0
    2341  * @since 4.6.0 The `$notify` parameter accepts 'user' for sending notification only to the user created.
     2341 * @since 4.6.0 Converted the `$notify` parameter to accept 'user' for sending
     2342 *              notifications only to the user created.
    23422343 *
    23432344 * @param int    $user_id ID of the newly created user.
    2344  * @param string $notify  Optional. Type of notification that should happen. Accepts 'admin' or an empty string
    2345  *                        (admin only), 'user', or 'both' (admin and user). Default 'both'.
     2345 * @param string $notify  Optional. Type of notification that should happen. Accepts 'admin'
     2346 *                        or an empty string (admin only), 'user', or 'both' (admin and user).
     2347 *                        Default 'both'.
    23462348 */
    23472349function wp_send_new_user_notifications( $user_id, $notify = 'both' ) {
Note: See TracChangeset for help on using the changeset viewer.