[wp-trac] [WordPress Trac] #39432: index.php/wp-json/ does not work

WordPress Trac noreply at wordpress.org
Wed Jan 11 06:54:31 UTC 2017


#39432: index.php/wp-json/ does not work
--------------------------+-----------------------
 Reporter:  ccprog        |       Owner:  rmccue
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.7.2
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by rmccue):

 * owner:   => rmccue
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.7.2


Comment:

 This appears to be a bug. `/wp-json/` should be stripped from `PATH_INFO`
 when we use that. However, it's strange that it's using that rather than
 the `rest_route` query var which is already available.

 This requires further investigation.

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


More information about the wp-trac mailing list