Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:48:43 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various corrections and improvements relating to types used in inline documentation.

See #53399

File:
1 edited

Legend:

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

    r51463 r52204  
    2626 *
    2727 * @param int $user_id Optional. User ID.
    28  * @return int|WP_Error User ID of the updated user.
     28 * @return int|WP_Error User ID of the updated user or WP_Error on failure.
    2929 */
    3030function edit_user( $user_id = 0 ) {
     
    235235         * @since 4.4.0
    236236         *
    237          * @param int    $user_id ID of the newly created user.
    238          * @param string $notify  Type of notification that should happen. See wp_send_new_user_notifications()
    239          *                        for more information on possible values.
     237         * @param int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
     238         * @param string       $notify  Type of notification that should happen. See
     239         *                              wp_send_new_user_notifications() for more information.
    240240         */
    241241        do_action( 'edit_user_created_user', $user_id, $notify );
Note: See TracChangeset for help on using the changeset viewer.