Changeset 41596
- Timestamp:
- 09/26/2017 12:11:56 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41552 r41596 1342 1342 1343 1343 /** 1344 * Check whether a blogname is already taken. 1344 * Checks whether a site name is already taken. 1345 * 1346 * The name is the site's subdomain or the site's subdirectory 1347 * path depending on the network settings. 1345 1348 * 1346 1349 * Used during the new site registration process to ensure 1347 * that each blogname is unique. 1348 * 1349 * @since MU (3.0.0) 1350 * 1351 * @global wpdb $wpdb WordPress database abstraction object. 1350 * that each site name is unique. 1351 * 1352 * @since MU (3.0.0) 1352 1353 * 1353 1354 * @param string $domain The domain to be checked. 1354 1355 * @param string $path The path to be checked. 1355 1356 * @param int $network_id Optional. Network ID. Relevant only on multi-network installations. 1356 * @return int 1357 * @return int|null The site ID if the site name exists, null otherwise. 1357 1358 */ 1358 1359 function domain_exists( $domain, $path, $network_id = 1 ) { … … 1368 1369 1369 1370 /** 1370 * Filters whether a blogname is taken. 1371 * Filters whether a site name is taken. 1372 * 1373 * The name is the site's subdomain or the site's subdirectory 1374 * path depending on the network settings. 1371 1375 * 1372 1376 * @since 3.5.0 1373 1377 * 1374 * @param int|null $result The blog_id if the blogname exists, null otherwise.1378 * @param int|null $result The site ID if the site name exists, null otherwise. 1375 1379 * @param string $domain Domain to be checked. 1376 1380 * @param string $path Path to be checked.
Note: See TracChangeset
for help on using the changeset viewer.