[wp-trac] [WordPress Trac] #29820: Smooth installation and updating of plugins and themes
WordPress Trac
noreply at wordpress.org
Fri Feb 6 03:02:20 UTC 2015
#29820: Smooth installation and updating of plugins and themes
-----------------------------+---------------------------------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: high | Milestone: 4.2
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: ux-feedback | Focuses: ui, javascript, administration
-----------------------------+---------------------------------------------
Comment (by pento):
Also TODO, via @nacin:
> Not sure who wrote it, but the XHR bits are overly complicated.
>
> Bring in `wp-util.js` and use `wp.ajax.post` with `.done()`, `.fail()`,
and `.always()`.
>
> Those RequestComplete, Error, and Success named functions can just
become closures, probably. (Or not, if there's a desire to leave them like
that for testability.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29820#comment:57>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list