get_current_site() showing "main" site information only
|Reported by:||kegster||Owned by:|
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.