[wp-trac] [WordPress Trac] #34729: Use short CURIEs instead of full URIs
WordPress Trac
noreply at wordpress.org
Sat Feb 20 13:34:44 UTC 2016
#34729: Use short CURIEs instead of full URIs
-------------------------+-----------------------
Reporter: rmccue | Owner: joehoyle
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.5
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------
Changes (by danielbachhuber):
* keywords: has-patch 2nd-opinion => needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
The regex doesn't handle `https://api.w.org/post_type`
https://github.com/WP-API/WP-
API/commit/ede21aa1ccea94ff8e4f8c30b23cae741e9cf776 is one approach, but
I'm not sure if `https://api.w.org/?foo` would be considered a valid curie
and need to be handled too
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34729#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list