[wp-trac] [WordPress Trac] #17833: Auto update plugins does not activate activation hooks

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 18 19:20:01 UTC 2012


#17833: Auto update plugins does not activate activation hooks
-----------------------------------+-----------------------
 Reporter:  opajaap                |       Owner:
     Type:  feature request        |      Status:  reopened
 Priority:  normal                 |   Milestone:  3.4
Component:  Upgrade/Install        |     Version:  3.3.1
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch ux-feedback  |
-----------------------------------+-----------------------
Changes (by TechStudioWP):

 * cc: TechStudioWP (added)
 * type:  defect (bug) => feature request
 * severity:  normal => minor


Comment:

 I am not an especially experienced developer, so I hope my comments are
 not ignorant or misunderstood.

 It seems completely logical that the activation and deactivation hooks not
 be triggered during automatic update. It could cause a lot of unintended
 side effects which has already been made clear. A solution involving a
 plugin developer internally tracking version was mentioned by dd32 that
 will work perfectly for what I think most of us watching this thread
 really need and I am satisfied to take his advice; however, would it not
 be widely useful for WordPress to track plugin versions and have an
 associated function or two related to this? This would allow us to have a
 hook we can use when automatic updates occur. Many other uses would arise
 as certain actions could be called when particular versions are surpassed
 during updates.

 If these comments are poorly expressed or off-topic due to a potential
 misunderstanding, feel free to remove them.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17833#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list