[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:57:19 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 has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 [attachment:37607.2.diff] adds a test showing the issue. This fails pre-
 patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37607#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list