[wp-trac] [WordPress Trac] #11965: Constant BLOGID_CURRENT_SITE not working

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 21 13:54:37 UTC 2010


#11965: Constant BLOGID_CURRENT_SITE not working
--------------------------+-------------------------------------------------
 Reporter:  edir          |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.9.1     
 Severity:  normal        |    Keywords:  wpmu      
--------------------------+-------------------------------------------------

Comment(by edir):

 Resposting the patch. Sorry X)

 {{{
 wpmu-settings.php:137
 +       if( $path == '/' )
 +               $path = $wpdb->get_var( $wpdb->prepare("SELECT path FROM
 $wpdb->blogs WHERE blog_id = %d", BLOGID_CURRENT_SITE) );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11965#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list