diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php
index 3308c07..57f125b 100644
a
|
b
|
Disable these notifications: %3$s'), $user->user_login, wp_unslash( $_SERVER['RE |
1313 | 1313 | } |
1314 | 1314 | |
1315 | 1315 | /** |
1316 | | * Check whether a blogname is already taken. |
| 1316 | * Checks whether a site name is already taken. |
| 1317 | * |
| 1318 | * The name is the site's subdomain or the site's subdirectory |
| 1319 | * path depending on the network settings. |
1317 | 1320 | * |
1318 | 1321 | * Used during the new site registration process to ensure |
1319 | | * that each blogname is unique. |
| 1322 | * that each site name is unique. |
1320 | 1323 | * |
1321 | 1324 | * @since MU |
1322 | 1325 | * |
1323 | | * @global wpdb $wpdb WordPress database abstraction object. |
1324 | | * |
1325 | 1326 | * @param string $domain The domain to be checked. |
1326 | 1327 | * @param string $path The path to be checked. |
1327 | 1328 | * @param int $site_id Optional. Relevant only on multi-network installs. |
1328 | | * @return int |
| 1329 | * @return int|null The site ID if the site name exists, null otherwise. |
1329 | 1330 | */ |
1330 | 1331 | function domain_exists($domain, $path, $site_id = 1) { |
1331 | 1332 | $path = trailingslashit( $path ); |
… |
… |
function domain_exists($domain, $path, $site_id = 1) { |
1339 | 1340 | $result = array_shift( $result ); |
1340 | 1341 | |
1341 | 1342 | /** |
1342 | | * Filters whether a blogname is taken. |
| 1343 | * Filters whether a site name is taken. |
| 1344 | * |
| 1345 | * The name is the site's subdomain or the site's subdirectory |
| 1346 | * path depending on the network settings. |
1343 | 1347 | * |
1344 | 1348 | * @since 3.5.0 |
1345 | 1349 | * |
1346 | | * @param int|null $result The blog_id if the blogname exists, null otherwise. |
| 1350 | * @param int|null $result The site ID if the site name exists, null otherwise. |
1347 | 1351 | * @param string $domain Domain to be checked. |
1348 | 1352 | * @param string $path Path to be checked. |
1349 | 1353 | * @param int $site_id Site ID. Relevant only on multi-network installs. |