Skip to content

Commit

Permalink
Commenting out / recommenting correct actions in Main class
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-karen committed Jan 29, 2025
1 parent 2c88a65 commit d615788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/packages/classic-theme-helper/src/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public static function init() {
self::$instance = new Main();
self::$instance->load_modules();
// TODO Commenting below since we still load them from theme-tools module
// add_action( 'init', array( __CLASS__, 'jetpack_load_theme_tools' ), 30 );
add_action( 'init', array( __CLASS__, 'jetpack_load_theme_tools' ), 30 );
// phpcs:ignore Squiz.PHP.CommentedOutCode.Found
add_action( 'after_setup_theme', array( __CLASS__, 'jetpack_load_theme_compat' ), -1 ); // for now
// add_action( 'after_setup_theme', array( __CLASS__, 'jetpack_load_theme_compat' ), -1 );
}

return self::$instance;
Expand Down

0 comments on commit d615788

Please sign in to comment.