[wp-trac] [WordPress Trac] #22090: Eliminate use of global $current_blog
WordPress Trac
noreply at wordpress.org
Thu Oct 25 19:49:17 UTC 2012
#22090: Eliminate use of global $current_blog
--------------------------+-----------------------
Reporter: ryan | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.2
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Comment (by ryan):
id and blog_id are different ids. One is the network id and other the blog
id for the main site of that network.
These warnings are new to 3.5? I'm not seeing any changes that would cause
blog_id to be empty where it was set before. [22240] actually sets blog_id
in one place where it wasn't set before. We could add an isset(), but that
seems like it is papering over a problem in the domain mapping plugin.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22090#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list