From f3e4bbcaab145aad479a0f1fd3432483ee46266f Mon Sep 17 00:00:00 2001 From: Marshall Sorenson Date: Mon, 8 Jun 2015 14:52:02 -0400 Subject: [PATCH] moved cbox upgrade trigger to admin_init action see PressCrew/infinity-cbox#2 --- src/engine/custom/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/custom/upgrade.php b/src/engine/custom/upgrade.php index 0d2f994f..9866b6bc 100644 --- a/src/engine/custom/upgrade.php +++ b/src/engine/custom/upgrade.php @@ -27,7 +27,7 @@ function cbox_theme_upgrade() // run it $upgrade->run(); } -add_action( 'infinity_dashboard_activated', 'cbox_theme_upgrade' ); +add_action( 'admin_init', 'cbox_theme_upgrade' ); // // Classes