[wp-trac] [WordPress Trac] #35647: API index should include home URL

WordPress Trac noreply at wordpress.org
Thu Mar 17 10:09:23 UTC 2016


#35647: API index should include home URL
--------------------------+-----------------------
 Reporter:  iseulde       |       Owner:  rmccue
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.5
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by Compute):

 * version:  4.4 => trunk


Comment:

 To me it's kinda "wierd" that the "url" is siteurl. We mostly put WP in a
 subdirectory so that the /wp-json/ url key would be "domain.com/wp/" - a
 link that would just result in a 404.

 But I guess that the name can't be changed now due to backwards
 compatibility.

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


More information about the wp-trac mailing list