Changes between Initial Version and Version 1 of Ticket #22090, comment 13
- Timestamp:
- 10/25/2012 09:14:17 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22090, comment 13
initial v1 2 2 3 3 I looked into the ms-settings.php and added two lines to the domain mapping plugins sunrise.php (not by donncha but by incsub), same effect :-) 4 if anybody is searching for this, I put it here... and contact the plugin author 4 if anybody is searching for this, I put it here... and contact the plugin author[[BR]] 5 6 around line 50 5 7 {{{ 6 8 if ( ! isset( $current_site->blog_id ) ) 7 $current_site->blog_id = $ mapped_id;8 }}} 9 $current_site->blog_id = $wpdb->get_var( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs WHERE domain = %s AND path = %s", $current_site->domain, $current_site->path ) ); 10 }}}