diff --git a/src/engine/ICE/loader.php b/src/engine/ICE/loader.php index 9290c30e..14270070 100644 --- a/src/engine/ICE/loader.php +++ b/src/engine/ICE/loader.php @@ -82,7 +82,7 @@ final static public function init( $ice_slug, $ice_url ) // add theme activation callback add_action( 'load-themes.php', array( __CLASS__, 'do_activated_actions' ) ); // add upgrade callback - add_action( 'ice_theme_activated', array( __CLASS__, 'upgrade' ), 1 ); + add_action( 'admin_init', array( __CLASS__, 'upgrade' ), 1 ); } } }