[wp-trac] [WordPress Trac] #42382: REST API: Handle api-request query parameters with plain permalinks
WordPress Trac
noreply at wordpress.org
Fri Oct 19 18:32:06 UTC 2018
#42382: REST API: Handle api-request query parameters with plain permalinks
-----------------------------------+------------------------------
Reporter: aduth | Owner: adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: REST API | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: commit has-unit-tests | Focuses: javascript
-----------------------------------+------------------------------
Changes (by danielbachhuber):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"43771" 43771]:
{{{
#!CommitTicketReference repository="" revision="43771"
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.
Merges [42965] to the 5.0 branch.
Fixes #42382.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42382#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list