[wp-trac] [WordPress Trac] #19848: Function is_main_site uses $current_site->blog_id instead of $current_site->id
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 18 07:03:32 UTC 2012
#19848: Function is_main_site uses $current_site->blog_id instead of
$current_site->id
-----------------------------------------+------------------------------
Reporter: matslundberg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------------------
Comment (by mohanjith):
This is normal when you upgrade from old WordPress MU installs (2.8.x) and
do not update wp-config.php to bring it inline with new configurations.
If you defined BLOG_ID_CURRENT_SITE and SITE_ID_CURRENT_SITE in wp-
config.php issue will go away.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19848#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list