Make WordPress Core

Changeset 51930


Ignore:
Timestamp:
10/25/2021 12:22:41 AM (19 months ago)
Author:
peterwilsoncc
Message:

Docs: Use sign-up & signup consistently in wp-signup.php.

In the docblocks throughout wp-signup.php use sign up for verbs and sign-up for nouns.

Props audrasjb, jeffpaul.
Fixes #54041. See #53399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r51699 r51930  
    4444
    4545/**
    46  * Fires before the Site Signup page is loaded.
     46 * Fires before the Site Sign-up page is loaded.
    4747 *
    4848 * @since 4.4.0
     
    5151
    5252/**
    53  * Prints styles for front-end Multisite signup pages.
     53 * Prints styles for front-end Multisite Sign-up pages.
    5454 *
    5555 * @since MU (3.0.0)
     
    8080
    8181/**
    82  * Fires before the site sign-up form.
     82 * Fires before the site Sign-up form.
    8383 *
    8484 * @since 3.0.0
     
    9090<?php
    9191/**
    92  * Generates and displays the Signup and Create Site forms.
     92 * Generates and displays the Sign-up and Create Site forms.
    9393 *
    9494 * @since MU (3.0.0)
     
    225225
    226226/**
    227  * Validates the new site signup.
     227 * Validates the new site sign-up.
    228228 *
    229229 * @since MU (3.0.0)
     
    289289
    290290/**
    291  * Validates user signup name and email.
     291 * Validates user sign-up name and email.
    292292 *
    293293 * @since MU (3.0.0)
     
    395395
    396396/**
    397  * Validates a new site signup for an existing user.
     397 * Validates a new site sign-up for an existing user.
    398398 *
    399399 * @since MU (3.0.0)
     
    630630
    631631/**
    632  * Validates the new user signup.
    633  *
    634  * @since MU (3.0.0)
    635  *
    636  * @return bool True if new user signup was validated, false on error.
     632 * Validates the new user sign-up.
     633 *
     634 * @since MU (3.0.0)
     635 *
     636 * @return bool True if new user sign-up was validated, false on error.
    637637 */
    638638function validate_user_signup() {
     
    748748        ?>
    749749        <?php show_blog_form( $blogname, $blog_title, $errors ); ?>
    750         <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Signup' ); ?>" /></p>
     750        <p class="submit"><input type="submit" name="submit" class="submit" value="<?php esc_attr_e( 'Sign up' ); ?>" /></p>
    751751    </form>
    752752    <?php
     
    758758 * @since MU (3.0.0)
    759759 *
    760  * @return bool True if the site signup was validated, false on error.
     760 * @return bool True if the site sign-up was validated, false on error.
    761761 */
    762762function validate_blog_signup() {
     
    861861
    862862/**
    863  * Retrieves languages available during the site/user signup process.
     863 * Retrieves languages available during the site/user sign-up process.
    864864 *
    865865 * @since 4.4.0
     
    872872function signup_get_available_languages() {
    873873    /**
    874      * Filters the list of available languages for front-end site signups.
     874     * Filters the list of available languages for front-end site sign-ups.
    875875     *
    876876     * Passing an empty array to this hook will disable output of the setting on the
    877      * signup form, and the default language will be used when creating the site.
     877     * sign-up form, and the default language will be used when creating the site.
    878878     *
    879879     * Languages not already installed will be stripped.
Note: See TracChangeset for help on using the changeset viewer.