Wordpress/tests
Jeremy Felt 0df4e1f026 Multisite: Use get_current_blog_id() in get_site() for current site.
The global `$current_blog` is not switched in `switch_to_blog()` and can
not be used to properly retrieve current switched site information.

See #37607.


git-svn-id: https://develop.svn.wordpress.org/trunk@38217 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-08 22:32:47 +00:00
..
phpunit Multisite: Use get_current_blog_id() in get_site() for current site. 2016-08-08 22:32:47 +00:00
qunit Update/Install: Replace "error" and "-1" failure messages with a more meaningful one. 2016-08-05 19:27:56 +00:00