[wp-trac] [WordPress Trac] #21409: get_current_site() showing "main" site information only

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 28 18:28:51 UTC 2012


#21409: get_current_site() showing "main" site information only
--------------------------+-----------------------------
 Reporter:  kegster       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.4.1
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 I have a custom theme that i placed var_dump(get_current_site()); in the
 header.php of the twenty eleven theme and installed it on 3 sites on my
 multisite. On each site, regardless which one or logged in or not, the
 var_dump displayed the $current_site of the "main" site. (domain.com).
 test1.domain.com, test2.domain.com, etc all showed the information for
 domain.com. I cannot grab the correct site ID. I even did a fresh
 multisite install with just twentyeleven and had these problems.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21409>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list