[wp-trac] [WordPress Trac] #38873: REST API doesn't match with trailing slash when not using rewrites

WordPress Trac noreply at wordpress.org
Mon Nov 21 05:45:33 UTC 2016


#38873: REST API doesn't match with trailing slash when not using rewrites
--------------------------+---------------------
 Reporter:  joehoyle      |       Owner:  rmccue
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by rmccue):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39329"]:
 {{{
 #!CommitTicketReference repository="" revision="39329"
 REST API: Trim trailing slashes from routes.

 WordPress' rewrites do this usually, but the behaviour was inconsistent
 when using non-pretty permalinks.

 Props joehoyle.
 Fixes #38873.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38873#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list