[wp-hackers] Will Activation Hook Be Executed During Plugin Upgradation?

Ozh ozh at ozh.org
Mon Sep 20 20:25:04 UTC 2010


Never payed attention to it before, but is there a semantic/usage
difference between "update" and "upgrade" in WP? "Update a plugin" vs
"Upgrade core"?

On Mon, Sep 20, 2010 at 10:21 PM, Dougal Campbell <dougal at gunters.org> wrote:
>  do_action( 'update_plugin_' . $slug );
>  do_action( 'update_theme_' . $slug );
>
> ...during the appropriate upgrade processes. But yeah, regardless of the
> actual implementation, an upgrade hook would be logical and good to have.


-- 
http://ozh.org/


More information about the wp-hackers mailing list