Changeset 14351
- Timestamp:
- 05/02/2010 11:33:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-blogs.php
r14343 r14351 90 90 if ( false !== $blog ) 91 91 return $blog; 92 if ( substr( $ domain, 0, 4 ) == 'www.' ) {93 $nowww = substr( $ domain, 4 );92 if ( substr( $fields['domain'], 0, 4 ) == 'www.' ) { 93 $nowww = substr( $fields['domain'], 4 ); 94 94 $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->blogs WHERE domain IN (%s,%s) AND path = %s ORDER BY CHAR_LENGTH(domain) DESC", $nowww, $fields['domain'], $fields['path'] ) ); 95 95 } else {
Note: See TracChangeset
for help on using the changeset viewer.