[wp-trac] [WordPress Trac] #14912: Introduce register_update_hook()

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 07:29:46 UTC 2010


#14912: Introduce register_update_hook()
-----------------------------+----------------------------------------------
 Reporter:  scribu           |       Owner:                
     Type:  enhancement      |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Upgrade/Install  |     Version:                
 Severity:  normal           |    Keywords:  has-patch     
-----------------------------+----------------------------------------------
Changes (by StephenCronin):

 * cc: StephenCronin (added)


Comment:

 Replying to [comment:27 scribu]:
 > Considering that 99.9% of plugin updates will be done through the admin,
 I don't think this is a problem.

 Isn't that one of the arguments for this in the first place? That the
 existing activation hook shouldn't be used, because it only works when
 people upgrade plugins through admin. Ie it won't work when plugins are
 update via FTP, etc

 Now, we're replacing that with something that won't work in the same cases
 (ie when a plugin is updated via FTP)?

 Am I missing something here?

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


More information about the wp-trac mailing list