[wp-trac] [WordPress Trac] #34617: Add filter for shiny updates
WordPress Trac
noreply at wordpress.org
Mon Nov 9 04:39:57 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:
-----------------------------+------------------------------
Comment (by afragen):
Replying to [comment:12 dd32]:
> > 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.
Would that mean that any changes that are done via the filter would be
saved and show up correctly in this instance? If so, that should solve
this issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34617#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list