[wp-trac] [WordPress Trac] #34617: Add filter for shiny updates

WordPress Trac noreply at wordpress.org
Mon Nov 9 04:36:27 UTC 2015


#34617: Add filter for shiny updates
-----------------------------+------------------------------
 Reporter:  afragen          |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------
Changes (by dd32):

 * keywords:  has-patch close => has-patch


Comment:

 > But I am updating destination_name in upgrader_post_install.

 But that information isn't passed back to the Upgrader instance, because
 there isn't a way to do so.

 I'm thinking that the best option is to pass `$this` to the filters for
 context (or at least the `upgrader_post_install` filter) so that filters
 can update the results.

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


More information about the wp-trac mailing list