Wordpress/tests
Ryan McCue 49852ed54f REST API: Ensure rest_url() consistently has leading slash.
`rest_url()` inconsistent addes slashes to the passed path depending on whether the site has pretty permalinks enabled. Apart from being inconsistent, this also caused the unit tests to fail when pretty permalinks are enabled.

Props frank-klein.
Fixes #42452. See #41451.


git-svn-id: https://develop.svn.wordpress.org/trunk@42250 602fd350-edb4-49c9-b593-d223f7449a82
2017-11-28 07:09:43 +00:00
..
phpunit REST API: Ensure rest_url() consistently has leading slash. 2017-11-28 07:09:43 +00:00
qunit REST API: Add permalink_structure to the index endpoint. 2017-11-10 06:10:23 +00:00