Changeset 46660 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 11/05/2019 09:21:46 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r46644 r46660 13 13 * @since MU (3.0.0) 14 14 * 15 * @return array Site and user count for the network. 15 * @return int[] { 16 * Site and user count for the network. 17 * 18 * @type int $blogs Number of sites on the network. 19 * @type int $users Number of users on the network. 20 * } 16 21 */ 17 22 function get_sitestats() { … … 444 449 * @param string $user_name The login name provided by the user. 445 450 * @param string $user_email The email provided by the user. 446 * @return array Contains username, email, and error messages. 451 * @return array { 452 * The array of user name, email, and the error messages. 453 * 454 * @type string $user_name Sanitized and unique username. 455 * @type string $orig_username Original username. 456 * @type string $user_email User email address. 457 * @type WP_Error $errors WP_Error object containing any errors found. 458 * } 447 459 */ 448 460 function wpmu_validate_user_signup( $user_name, $user_email ) { … … 560 572 * 561 573 * @param array $result { 562 * The array of user name, email and the error messages.574 * The array of user name, email, and the error messages. 563 575 * 564 576 * @type string $user_name Sanitized and unique username. … … 593 605 * @param string $blog_title The blog title provided by the user. 594 606 * @param WP_User|string $user Optional. The user object to check against the new site name. 595 * @return array Contains the new site data and error messages. 607 * @return array { 608 * Array of domain, path, blog name, blog title, user and error messages. 609 * 610 * @type string $domain Domain for the site. 611 * @type string $path Path for the site. Used in subdirectory installations. 612 * @type string $blogname The unique site name (slug). 613 * @type string $blog_title Blog title. 614 * @type string|WP_User $user By default, an empty string. A user object if provided. 615 * @type WP_Error $errors WP_Error containing any errors found. 616 * } 596 617 */ 597 618 function wpmu_validate_blog_signup( $blogname, $blog_title, $user = '' ) { … … 1974 1995 * 1975 1996 * @param array|string $deprecated Not used. 1976 * @return array The current site's domain 1997 * @return string[] { 1998 * An array containing the current site's domain. 1999 * 2000 * @type string $0 The current site's domain. 2001 * } 1977 2002 */ 1978 2003 function redirect_this_site( $deprecated = '' ) { … … 2578 2603 * @since 4.4.0 2579 2604 * 2580 * @return array Array of reserved subdirectorynames.2605 * @return string[] Array of reserved names. 2581 2606 */ 2582 2607 function get_subdirectory_reserved_names() {
Note: See TracChangeset
for help on using the changeset viewer.