[wp-trac] [WordPress Trac] #34399: WP API 1.2 endpoints don't work with latest WP core master

WordPress Trac noreply at wordpress.org
Fri Oct 23 18:31:43 UTC 2015


#34399: WP API 1.2 endpoints don't work with latest WP core master
--------------------------+--------------------
 Reporter:  mnelson4      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by mnelson4):

 Yeah that fix in WP API 1.2 works too!
 The only downside to that fix (same with my suggestions # 2) is that if
 you're using the WP API 1.2, you can only see the WP API 1.2 index
 contents, which is unfortunate for any API clients hoping to use the REST
 API in WP 4.4 core.

 Is switching the REST url prefix to `wp-rest` an option? I realize any API
 clients using WP API 2 beta would need to adjust, but it's a better
 solution to this and IMO a better REST url prefix anyways (and if we're
 ever going to change it, now's the time, before 4.4 is released)

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


More information about the wp-trac mailing list