[wp-trac] [WordPress Trac] #49686: Add hook_extra parameter to upgrader_pre_download filter

WordPress Trac noreply at wordpress.org
Tue Jul 7 19:13:45 UTC 2020


#49686: Add hook_extra parameter to upgrader_pre_download filter
--------------------------------------+----------------------
 Reporter:  obliviousharmony          |       Owner:  desrosj
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Upgrade/Install           |     Version:  5.4
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+----------------------
Changes (by desrosj):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48399" 48399]:
 {{{
 #!CommitTicketReference repository="" revision="48399"
 Upgrade/Install: Add `hook_extra` parameter to the `upgrader_pre_download`
 filter.

 This provides additional context to code running on this hook, including
 which plugin or theme update will be downloaded. It also brings
 consistency to this filter with others throughout the upgrade process.

 Props obliviousharmony, desrosj.
 Fixes #49686.
 }}}

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


More information about the wp-trac mailing list