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

WordPress Trac noreply at wordpress.org
Thu Oct 22 18:55:11 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:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mnelson4):

 A quick-workaround for continuing to use the WP API 1.2 pluing is to just
 add this to functions.php or something:
 {{{
 add_filter( 'rest_enabled', '__return_false' );
 }}}
 which disables the WP API in core and allows 1.2 to continue working

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


More information about the wp-trac mailing list