Changeset 41289 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 08/22/2017 11:51:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41242 r41289 587 587 588 588 /* 589 * On sub dir install s, some names are so illegal, only a filter can589 * On sub dir installations, some names are so illegal, only a filter can 590 590 * spring them from jail. 591 591 */ … … 681 681 * 682 682 * @type string $domain Domain for the site. 683 * @type string $path Path for the site. Used in subdirectory install s.683 * @type string $path Path for the site. Used in subdirectory installations. 684 684 * @type string $blogname The unique site name (slug). 685 685 * @type string $blog_title Blog title. … … 1165 1165 * for events that should affect all new sites. 1166 1166 * 1167 * On subdirectory install s, $domain is the same as the main site's1167 * On subdirectory installations, $domain is the same as the main site's 1168 1168 * domain, and the path is the subdirectory name (eg 'example.com' 1169 * and '/blog1/'). On subdomain install s, $domain is the new subdomain +1169 * and '/blog1/'). On subdomain installations, $domain is the new subdomain + 1170 1170 * root domain (eg 'blog1.example.com'), and $path is '/'. 1171 1171 * … … 1181 1181 * updated. Otherwise, keys and values will be used to set options for 1182 1182 * the new site. Default empty array. 1183 * @param int $network_id Optional. Network ID. Only relevant on multi-network install s.1183 * @param int $network_id Optional. Network ID. Only relevant on multi-network installations. 1184 1184 * @return int|WP_Error Returns WP_Error object on failure, the new site ID on success. 1185 1185 */ … … 1241 1241 * @param string $domain Site domain. 1242 1242 * @param string $path Site path. 1243 * @param int $network_id Network ID. Only relevant on multi-network install s.1243 * @param int $network_id Network ID. Only relevant on multi-network installations. 1244 1244 * @param array $meta Meta data. Used to set initial site options. 1245 1245 */ … … 1353 1353 * @param string $domain The domain to be checked. 1354 1354 * @param string $path The path to be checked. 1355 * @param int $network_id Optional. Network ID. Relevant only on multi-network install s.1355 * @param int $network_id Optional. Network ID. Relevant only on multi-network installations. 1356 1356 * @return int 1357 1357 */ … … 1375 1375 * @param string $domain Domain to be checked. 1376 1376 * @param string $path Path to be checked. 1377 * @param int $network_id Network ID. Relevant only on multi-network install s.1377 * @param int $network_id Network ID. Relevant only on multi-network installations. 1378 1378 */ 1379 1379 return apply_filters( 'domain_exists', $result, $domain, $path, $network_id ); … … 1392 1392 * @param string $domain The domain of the new site. 1393 1393 * @param string $path The path of the new site. 1394 * @param int $network_id Unless you're running a multi-network install , be sure to set this value to 1.1394 * @param int $network_id Unless you're running a multi-network installation, be sure to set this value to 1. 1395 1395 * @return int|false The ID of the new row 1396 1396 */ … … 2571 2571 2572 2572 /** 2573 * Retrieves a list of reserved site on a sub-directory Multisite install .2573 * Retrieves a list of reserved site on a sub-directory Multisite installation. 2574 2574 * 2575 2575 * @since 4.4.0 … … 2584 2584 2585 2585 /** 2586 * Filters reserved site names on a sub-directory Multisite install .2586 * Filters reserved site names on a sub-directory Multisite installation. 2587 2587 * 2588 2588 * @since 3.0.0
Note: See TracChangeset
for help on using the changeset viewer.