Changeset 27717
- Timestamp:
- 03/25/2014 05:31:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r27161 r27717 1300 1300 function domain_exists($domain, $path, $site_id = 1) { 1301 1301 global $wpdb; 1302 $path = trailingslashit( $path ); 1302 1303 $result = $wpdb->get_var( $wpdb->prepare("SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s AND site_id = %d", $domain, $path, $site_id) ); 1304 1303 1305 /** 1304 1306 * Filter whether a blogname is taken.
Note: See TracChangeset
for help on using the changeset viewer.