Changeset 55398 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 02/21/2023 04:37:03 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r55161 r55398 331 331 * 332 332 * @param string $domain Website domain. 333 * @param string $path Optional. Not required for subdomain installations. 333 * @param string $path Optional. Not required for subdomain installations. Default '/'. 334 334 * @return int 0 if no blog found, otherwise the ID of the matching blog. 335 335 */ … … 607 607 * @param string $blog_title The blog title provided by the user. 608 608 * @param WP_User|string $user Optional. The user object to check against the new site name. 609 * Default empty string. 609 610 * @return array { 610 611 * Array of domain, path, blog name, blog title, user and error messages. … … 1355 1356 * the new site. Default empty array. 1356 1357 * @param int $network_id Optional. Network ID. Only relevant on multi-network installations. 1358 * Default 1. 1357 1359 * @return int|WP_Error Returns WP_Error object on failure, the new site ID on success. 1358 1360 */ … … 1540 1542 * @param string $domain The domain to be checked. 1541 1543 * @param string $path The path to be checked. 1542 * @param int $network_id Optional. Network ID. Relevant only on multi-network installations. 1544 * @param int $network_id Optional. Network ID. Only relevant on multi-network installations. 1545 * Default 1. 1543 1546 * @return int|null The site ID if the site name exists, null otherwise. 1544 1547 */ … … 1567 1570 * @param string $domain Domain to be checked. 1568 1571 * @param string $path Path to be checked. 1569 * @param int $network_id Network ID. Relevant onlyon multi-network installations.1572 * @param int $network_id Network ID. Only relevant on multi-network installations. 1570 1573 */ 1571 1574 return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );
Note: See TracChangeset
for help on using the changeset viewer.