Skip to content

Commit

Permalink
moved cbox upgrade trigger to admin_init action
Browse files Browse the repository at this point in the history
see #2
  • Loading branch information
MrMaz committed Jun 8, 2015
1 parent 7dc9aff commit f3e4bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/custom/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3e4bbc

Please sign in to comment.