[wp-trac] [WordPress Trac] #12993: 'get_current_blog()' and/or 'current_blog_id()' function?

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 24 22:42:11 UTC 2010


#12993: 'get_current_blog()' and/or 'current_blog_id()' function?
---------------------------+------------------------------------------------
 Reporter:  martythornley  |       Owner:                       
     Type:  enhancement    |      Status:  new                  
 Priority:  normal         |   Milestone:  Future Release       
Component:  Multisite      |     Version:  3.0                  
 Severity:  normal         |    Keywords:  current blog, blog id
---------------------------+------------------------------------------------
Changes (by scribu):

  * type:  feature request => enhancement


Comment:

 If nothing else, get_current_blog() should be added for symmetry with
 get_current_site():

 1012  function get_current_site() {
 1013      global $current_site;
 1014      return $current_site;
 1015  }

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


More information about the wp-trac mailing list