Changeset 22065 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 09/27/2012 05:30:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r21996 r22065 1076 1076 function domain_exists($domain, $path, $site_id = 1) { 1077 1077 global $wpdb; 1078 return $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) ); 1078 $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) ); 1079 return apply_filters( 'domain_exists', $result, $domain, $path, $site_id ); 1079 1080 } 1080 1081
Note: See TracChangeset
for help on using the changeset viewer.