Wordpress/tests
Adam Silverstein 495ac15555 REST API: Handle api-request query parameters with plain permalinks.
When constructing the request URL, ensure that  `?` is replaced with `&` when the API root  already contains a `?`. Fixes an issue where requests were broken when sites had permalinks set to plain.

Props aduth.
Fixes #42382.



git-svn-id: https://develop.svn.wordpress.org/trunk@42965 602fd350-edb4-49c9-b593-d223f7449a82
2018-04-09 13:09:41 +00:00
..
phpunit Formatting: Permit use of `text-transform` in `safecss_filter_attr()`. 2018-03-27 00:53:20 +00:00
qunit REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:09:41 +00:00