Wordpress/tests
Jeremy Felt 824a10a8a6 Multisite: Ensure a consistent WP_Site return from get_site_by_path().
It is possible to short circuit `get_site_by_path()` using the `pre_get_site_by_path` filter. When this happens and a standard site object is provided, we can make sure it is upgraded to a proper `WP_Site` object before passing it on.

Props flixos90.
Fixes #37053.


git-svn-id: https://develop.svn.wordpress.org/trunk@38681 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-30 04:09:45 +00:00
..
phpunit Multisite: Ensure a consistent WP_Site return from get_site_by_path(). 2016-09-30 04:09:45 +00:00
qunit Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00