[wp-hackers] Can't rely on activation hook running on upgradation?
johnbillion+wp at gmail.com
Thu Jan 5 15:30:26 UTC 2012
On 5 January 2012 14:55, Raj Sekharan <flarecore at gmail.com> wrote:
> Not sure if this is a bug or I'm missing something. What needs to be done
> to ensure that some code is always run in initial activation or upgradation?
You're better off running an upgrade routine on the admin_init hook.
More information about the wp-hackers