[wp-trac] [WordPress Trac] #37607: get_site() does not return the current site when multisite is in a switched state
WordPress Trac
noreply at wordpress.org
Mon Aug 8 21:43:30 UTC 2016
#37607: get_site() does not return the current site when multisite is in a switched
state
--------------------------------+------------------------
Reporter: jeremyfelt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------
Comment (by jeremyfelt):
[attachment:37607.diff] makes the change from `global $current_blog` to
`get_current_blog_id()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37607#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list