[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints

WordPress Trac noreply at wordpress.org
Wed Oct 26 14:34:46 UTC 2016


#38342: Quick Draft: Leverage REST API endpoints
----------------------------------+------------------------------
 Reporter:  adamsilverstein       |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Administration        |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  needs-patch REST-API  |     Focuses:  javascript
----------------------------------+------------------------------

Comment (by aduth):

 @timmydcrawford : It appears it is possible to filter out the posts
 endpoint routes:

 https://github.com/WordPress/WordPress/blob/e4a7c0a/wp-includes/rest-api
 /class-wp-rest-server.php#L701-L711

 Unlikely as it might be, would be a good idea to account for this case by
 checking whether the required endpoints are registered before displaying
 Quick Drafts.

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


More information about the wp-trac mailing list