Make WordPress Core

Ticket #41566: 41566.diff

File 41566.diff, 1.2 KB (added by sabernhardt, 3 years ago)
  • src/wp-signup.php

     
    396396/**
    397397 * Validate a new site signup for an existing user.
    398398 *
     399 * @since MU (3.0.0)
     400 *
    399401 * @global string          $blogname   The new site's subdomain or directory name.
    400402 * @global string          $blog_title The new site's title.
    401403 * @global WP_Error        $errors     Existing errors in the global scope.
     
    402404 * @global string          $domain     The new site's domain.
    403405 * @global string          $path       The new site's path.
    404406 *
    405  * @since MU (3.0.0)
    406  *
    407407 * @return null|bool True if site signup was validated, false if error.
    408408 *                   The function halts all execution if the user is not logged in.
    409409 */
     
    553553 *
    554554 * @since MU (3.0.0)
    555555 *
     556 * @global string $active_signup String that returns registration type. The value can be
     557 *                               'all', 'none', 'blog', or 'user'.
     558 *
    556559 * @param string          $user_name  The username.
    557560 * @param string          $user_email The user's email.
    558561 * @param WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.