Make WordPress Core


Ignore:
Timestamp:
09/29/2015 01:32:47 AM (9 years ago)
Author:
jeremyfelt
Message:

Docs: Clarify $user parameter documentation in wpmu_validate_blog_signup.

See #32246.

File:
1 edited

Legend:

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

    r34603 r34676  
    589589 * @global string $domain
    590590 *
    591  * @param string $blogname   The blog name provided by the user. Must be unique.
    592  * @param string $blog_title The blog title provided by the user.
     591 * @param string         $blogname   The blog name provided by the user. Must be unique.
     592 * @param string         $blog_title The blog title provided by the user.
     593 * @param WP_User|string $user       Optional. The user object to check against the new site name.
    593594 * @return array Contains the new site data and error messages.
    594595 */
     
    705706     *     Array of domain, path, blog name, blog title, user and error messages.
    706707     *
    707      *     @type string   $domain     Domain for the site.
    708      *     @type string   $path       Path for the site. Used in subdirectory installs.
    709      *     @type string   $blogname   The unique site name (slug).
    710      *     @type string   $blog_title Blog title.
    711      *     @type string   $user       User email address.
    712      *     @type WP_Error $errors     WP_Error containing any errors found.
     708     *     @type string         $domain     Domain for the site.
     709     *     @type string         $path       Path for the site. Used in subdirectory installs.
     710     *     @type string         $blogname   The unique site name (slug).
     711     *     @type string         $blog_title Blog title.
     712     *     @type string|WP_User $user       By default, an empty string. A user object if provided.
     713     *     @type WP_Error       $errors     WP_Error containing any errors found.
    713714     * }
    714715     */
Note: See TracChangeset for help on using the changeset viewer.