[wp-trac] [WordPress Trac] #27754: Add ability to filter WP_Upgrader packages before upgrade

WordPress Trac noreply at wordpress.org
Fri May 1 16:05:07 UTC 2015


#27754: Add ability to filter WP_Upgrader packages before upgrade
----------------------------------+------------------------------
 Reporter:  nofearinc             |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Upgrade/Install       |     Version:  3.8
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+------------------------------

Comment (by chrisjean):

 I refreshed the patch.

 I'm personally interested in this update since without this filter, many
 functions hardwire clear_destination to false. This results in
 difficulties when users attempt to upgrade existing plugins or themes by
 supplying a zip file.

 With this filter, more advanced install and upgrade features can be
 implemented without having to create custom implementations of the various
 upgrader classes just for the purpose of customizing these arguments.

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


More information about the wp-trac mailing list