[wp-trac] [WordPress Trac] #38976: REST API: Allow multiple leading slashes at the beginning of the endpoint path
WordPress Trac
noreply at wordpress.org
Tue Nov 29 23:27:10 UTC 2016
#38976: REST API: Allow multiple leading slashes at the beginning of the endpoint
path
--------------------------+--------------------
Reporter: jnylen0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by jnylen0):
There is at least 1 plugin out in the wild that does this incorrectly...
and it's by "WP REST API Team" and we [http://v2.wp-api.org/guide/plugins/
officially promote it].
Presumably the console worked at one point, so whenever it stopped working
was a BC break.
Also, if the people most familiar with the API made a mistake here, how
can we expect other WP devs not to make the same mistake?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38976#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list