[wp-trac] [WordPress Trac] #34729: Use short CURIEs instead of full URIs

WordPress Trac noreply at wordpress.org
Mon Mar 21 23:25:21 UTC 2016


#34729: Use short CURIEs instead of full URIs
----------------------------+-----------------------
 Reporter:  rmccue          |       Owner:  joehoyle
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  4.5
Component:  REST API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------

Comment (by joehoyle):

 Added patch with maximum backwards compatibility. This makes the method
 easier to Shim in the rest api and also provides a way to get the non-
 compact links just as before. If needed we could also add the ability for
 the client to specify if it wants curies or not. Also, if anything was
 internally using `get_response_links` that method is still now available,
 unchanged.

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


More information about the wp-trac mailing list