[wp-trac] [WordPress Trac] #34399: WP API 1.2 endpoints don't work with latest WP core master
WordPress Trac
noreply at wordpress.org
Wed Nov 11 22:01:22 UTC 2015
#34399: WP API 1.2 endpoints don't work with latest WP core master
--------------------------+----------------------
Reporter: mnelson4 | Owner: rmccue
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: REST API | Version:
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by danielbachhuber):
* status: assigned => closed
* version: trunk =>
* resolution: => wontfix
* milestone: 4.4 =>
Comment:
Replying to [comment:8 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 (it works with the existing WP API 1.2 plugin, and allows
WP API 1.2 and WP 4.4's APIs to be used side-by-side) 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)
You could switch the REST URL in your specific environment to let both
APIs run side by side.
We'll release WP-API v1.2.4 for WP 4.4 compatibility.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34399#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list