[wp-trac] [WordPress Trac] #49116: Add Links to the REST version of a Resource in the header of the page

WordPress Trac noreply at wordpress.org
Mon Jun 8 12:57:35 UTC 2020


#49116: Add Links to the REST version of a Resource in the header of the page
-------------------------------------------------+-------------------------
 Reporter:  dshanske                             |       Owner:  dshanske
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.5
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests dev-    |     Focuses:  rest-api
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by dshanske):

 The error_log is my fault...I forgot to take it out after using it to
 track something.

 I am still not 100% sure that application/json is the right mime type, see
 above. So it's possible this might change...still, you are right, I could
 simply hardcode it.

 I will update the patch...want to see if anyone has any other ideas.

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


More information about the wp-trac mailing list