Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49629 r49927  
    929929     * @since MU (3.0.0)
    930930     *
    931      * @param string|bool $domain     Site domain.
    932      * @param string      $path       Site path.
    933      * @param string      $title      Site title.
    934      * @param string      $user_login User login name.
    935      * @param string      $user_email User email address.
    936      * @param string      $key        Activation key created in wpmu_signup_blog().
    937      * @param array       $meta       Signup meta data. By default, contains the requested privacy setting and lang_id.
     931     * @param string|false $domain     Site domain, or false to prevent the email from sending.
     932     * @param string       $path       Site path.
     933     * @param string       $title      Site title.
     934     * @param string       $user_login User login name.
     935     * @param string       $user_email User email address.
     936     * @param string       $key        Activation key created in wpmu_signup_blog().
     937     * @param array        $meta       Signup meta data. By default, contains the requested privacy setting and lang_id.
    938938     */
    939939    if ( ! apply_filters( 'wpmu_signup_blog_notification', $domain, $path, $title, $user_login, $user_email, $key, $meta ) ) {
     
    16021602     * @since MU (3.0.0)
    16031603     *
    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.
    1607      * @param string   $title    Site title.
    1608      * @param array    $meta     Signup meta data. By default, contains the requested privacy setting and lang_id.
     1604     * @param int|false $blog_id  Site ID, or false to prevent the email from sending.
     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.
     1607     * @param string    $title    Site title.
     1608     * @param array     $meta     Signup meta data. By default, contains the requested privacy setting and lang_id.
    16091609     */
    16101610    if ( ! apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta ) ) {
Note: See TracChangeset for help on using the changeset viewer.