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

WordPress Trac noreply at wordpress.org
Thu Jul 21 09:44:10 UTC 2016

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

Comment (by sanchothefat):

 Items in a collection don't get CURIEs added, only the top level response
 object or embedded objects get processed this way.

 Patch 7 works but there's definitely a neater way it could be done, I
 wasn't sure if there was a specific reason for handling it in the server
 rather than the response.

 I'll some tests too.

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

More information about the wp-trac mailing list