[wp-trac] [WordPress Trac] #22090: Eliminate use of global $current_blog
WordPress Trac
noreply at wordpress.org
Thu Oct 25 20:42:34 UTC 2012
#22090: Eliminate use of global $current_blog
--------------------------+---------------------
Reporter: ryan | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.2
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by wdfee):
* status: reopened => closed
* resolution: => fixed
Comment:
you're completely right, I'm not sure if it's related to 3.5[[BR]]
I looked into the ms-settings.php and added two lines to the domain
mapping plugins sunrise.php (not by donncha but by incsub), same effect
:-)
if anybody is searching for this, I put it here... and contact the plugin
author
{{{
if ( ! isset( $current_site->blog_id ) )
$current_site->blog_id = $mapped_id;
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22090#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list