Make WordPress Core

Ticket #41566: 41566.1.diff

File 41566.1.diff, 2.4 KB (added by audrasjb, 3 years ago)

Refreshes the last patch and use third-person for few occurrences of the verb "Validate" for better consistency

  • src/wp-signup.php

    diff --git a/src/wp-signup.php b/src/wp-signup.php
    index cbc4ddb402..238f405685 100644
    a b function show_blog_form( $blogname = '', $blog_title = '', $errors = '' ) { 
    224224}
    225225
    226226/**
    227  * Validate the new site signup
     227 * Validates the new site signup
    228228 *
    229229 * @since MU (3.0.0)
    230230 *
    function show_user_form( $user_name = '', $user_email = '', $errors = '' ) { 
    288288}
    289289
    290290/**
    291  * Validate user signup name and email
     291 * Validates user signup name and email
    292292 *
    293293 * @since MU (3.0.0)
    294294 *
    function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { 
    394394}
    395395
    396396/**
    397  * Validate a new site signup for an existing user.
     397 * Validates a new site signup for an existing user.
     398 *
     399 * @since MU (3.0.0)
    398400 *
    399401 * @global string          $blogname   The new site's subdomain or directory name.
    400402 * @global string          $blog_title The new site's title.
    function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { 
    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 */
    function validate_another_blog_signup() { 
    486486}
    487487
    488488/**
    489  * Confirm a new site signup.
     489 * Confirms a new site signup.
    490490 *
    491491 * @since MU (3.0.0)
    492492 * @since 4.4.0 Added the `$blog_id` parameter.
    function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $ 
    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.
    function signup_user( $user_name = '', $user_email = '', $errors = '' ) { 
    626629}
    627630
    628631/**
    629  * Validate the new user signup
     632 * Validates the new user signup
    630633 *
    631634 * @since MU (3.0.0)
    632635 *
    function signup_blog( $user_name = '', $user_email = '', $blogname = '', $blog_t 
    750753}
    751754
    752755/**
    753  * Validate new site signup
     756 * Validates new site signup
    754757 *
    755758 * @since MU (3.0.0)
    756759 *