Ticket #20589: 20589.diff
| File 20589.diff, 557 bytes (added by , 13 years ago) |
|---|
-
src/wp-includes/ms-functions.php
1289 1289 */ 1290 1290 function domain_exists($domain, $path, $site_id = 1) { 1291 1291 global $wpdb; 1292 1293 $path = trailingslashit( $path ); 1294 1292 1295 $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) ); 1293 1296 /** 1294 1297 * Filter whether a blogname is taken.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)