[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints
WordPress Trac
noreply at wordpress.org
Wed Nov 2 17:39:26 UTC 2016
#38342: Quick Draft: Leverage REST API endpoints
---------------------------------+-----------------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch 4.8-early | Focuses: javascript, rest-api
---------------------------------+-----------------------------------
Comment (by adamsilverstein):
[attachment:38342.3.diff]
* Add a count to the shell construction to the shell shows a matching
number of slots as the displayed drafts
* don't remove existing `wp_dashboard_recent_drafts` function or ajax
callback, keeping patch smaller and in case they are being used by
developers; before removing we should check for usage, then deprecate the
function
* build and return the js template instead of echoing it out directly in
the function
working on adding the missing filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38342#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list