wordpress-develop/tests/phpunit/tests/multisite
Jeremy Felt 0eb9f7e414 Use a less complex approach for enforcing path slashes in update_blog_details()
Ensure leading and traling slashes are in place and don't touch anything in the middle. Validating with `array_filter()` would have missed a possible valid falsy path - `/my-path/0/`.

Props nacin.

Fixes #18117.


git-svn-id: https://develop.svn.wordpress.org/trunk@31158 602fd350-edb4-49c9-b593-d223f7449a82
2015-01-12 04:20:47 +00:00
..
bootstrap.php Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
ms-files-rewriting.php Prevent wpmu_delete_blog from removing the wrong uploads directory 2014-11-20 06:52:07 +00:00
network.php Add basic unit tests for is_plugin_active_for_network() 2014-11-25 04:02:26 +00:00
site.php Use a less complex approach for enforcing path slashes in update_blog_details() 2015-01-12 04:20:47 +00:00