[wp-trac] [WordPress Trac] #39452: add the rest API root url to the admin header

WordPress Trac noreply at wordpress.org
Tue Jan 3 22:56:20 UTC 2017


#39452: add the rest API root url to the admin header
------------------------------------+------------------------------
 Reporter:  pbearne                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  REST API                |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by dd32):

 > I believe that the api is lighter weight than admin ajax

 My point was about using `wp-api` which exposes a `wp.api` javascript
 handler with models and collections of api endpoints, vs rolling their own
 XHR requests to the rest api endpoints (as previously done with admin-
 ajax.php)

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


More information about the wp-trac mailing list