[wp-trac] [WordPress Trac] #38182: rest_url does not support index permalinks
WordPress Trac
noreply at wordpress.org
Fri Oct 14 19:29:09 UTC 2016
#38182: rest_url does not support index permalinks
---------------------------------------------+----------------------
Reporter: kraftbj | Owner: kraftbj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------
Changes (by rachelbaker):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38790"]:
{{{
#!CommitTicketReference repository="" revision="38790"
REST API: Support sites with index-style permalinks in `get_rest_url()`.
Support the index-style permalinks (http://example.com/index.php/postName)
when registering the REST API rewrite rules and within the
`get_rest_url()` function. This allows sites that do not have mod_rewrite
support to have almost pretty urls and have access to their REST API
endpoints.
Props kraftbj.
Fixes #38182.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38182#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list