mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
7eeb2e599e
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. Merges [42965] to the 5.0 branch. Fixes #42382. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43771 602fd350-edb4-49c9-b593-d223f7449a82