Make WordPress Core


Ignore:
Timestamp:
09/30/2020 09:52:27 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements related to user and site signup functionality.

See #50768

File:
1 edited

Legend:

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

    r49028 r49078  
    15761576
    15771577/**
    1578  * Notify a user that their blog activation has been successful.
     1578 * Notifies the site administrator that their site activation was successful.
    15791579 *
    15801580 * Filter {@see 'wpmu_welcome_notification'} to disable or bypass.
    … …  
    15851585 * @since MU (3.0.0)
    15861586 *
    1587  * @param int    $blog_id  Blog ID.
     1587 * @param int    $blog_id  Site ID.
    15881588 * @param int    $user_id  User ID.
    1589  * @param string $password User password.
     1589 * @param string $password User password, or "N/A" if the user account is not new.
    15901590 * @param string $title    Site title.
    15911591 * @param array  $meta     Optional. Signup meta data. By default, contains the requested privacy setting and lang_id.
    1592  * @return bool
     1592 * @return bool Whether the email notification was sent.
    15931593 */
    15941594function wpmu_welcome_notification( $blog_id, $user_id, $password, $title, $meta = array() ) {
    … …  
    15961596
    15971597        /**
    1598          * Filters whether to bypass the welcome email after site activation.
     1598         * Filters whether to bypass the welcome email sent to the site administrator after site activation.
    15991599         *
    16001600         * Returning false disables the welcome email.
    … …  
    16021602         * @since MU (3.0.0)
    16031603         *
    1604          * @param int|bool $blog_id  Blog ID.
    1605          * @param int      $user_id  User ID.
    1606          * @param string   $password User password.
     1604         * @param int|bool $blog_id  Site ID.
     1605         * @param int      $user_id  User ID of the site administrator.
     1606         * @param string   $password User password, or "N/A" if the user account is not new.
    16071607         * @param string   $title    Site title.
    16081608         * @param array    $meta     Signup meta data. By default, contains the requested privacy setting and lang_id.
    … …  
    16461646
    16471647        /**
    1648          * Filters the content of the welcome email after site activation.
     1648         * Filters the content of the welcome email sent to the site administrator after site activation.
    16491649         *
    16501650         * Content should be formatted for transmission via wp_mail().
    … …  
    16531653         *
    16541654         * @param string $welcome_email Message body of the email.
    1655          * @param int    $blog_id       Blog ID.
    1656          * @param int    $user_id       User ID.
    1657          * @param string $password      User password.
     1655         * @param int    $blog_id       Site ID.
     1656         * @param int    $user_id       User ID of the site administrator.
     1657         * @param string $password      User password, or "N/A" if the user account is not new.
    16581658         * @param string $title         Site title.
    16591659         * @param array  $meta          Signup meta data. By default, contains the requested privacy setting and lang_id.
    … …  
    16791679
    16801680        /**
    1681          * Filters the subject of the welcome email after site activation.
     1681         * Filters the subject of the welcome email sent to the site administrator after site activation.
    16821682         *
    16831683         * @since MU (3.0.0)
Note: See TracChangeset for help on using the changeset viewer.