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

WordPress Trac noreply at wordpress.org
Thu Oct 27 21:00:51 UTC 2016


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

Comment (by adamsilverstein):

 @aduth This works great in my testing! A tiny bit of feedback:

 * I love the 'shell' animated loading indicator you added, however the
 shell always shows 4 drafts and if you have fewer it looks odd when
 loading. Maybe only show one here or possibly no shells at all? probably
 not worth the effort of a count query to determine the actual number of
 drafts.
 * Ideally we should add a `hide-if-no-js` class to the meta box, since the
 feature won't work without JS. I think we have to do that via a filter.

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


More information about the wp-trac mailing list