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

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 21 16:09:51 UTC 2010


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

  * status:  new => closed
  * resolution:  => invalid


Comment:

 You have to define {{{DOMAIN_CURRENT_SITE}}} and {{{PATH_CURRENT_SITE}}}
 for {{{BLOGID_CURRENT_SITE}}} to be used.

 Those constants are used to bypass the site lookup and eliminate a few
 database queries on most MU installs.

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


More information about the wp-trac mailing list