Skip to content

Commit

Permalink
Load load_pmc_required_plugins later on (from HV PR #24)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanPak committed Mar 31, 2023
1 parent 06110f4 commit 75f0665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function __construct() {
// Using unit test bootstrap function to add filter, the wp core has not loaded yet at this point.
tests_add_filter( 'muplugins_loaded', [ $this, 'muplugins_loaded_late_bind' ], self::LOW_PRIORITY );
tests_add_filter( 'muplugins_loaded', [ $this, 'muplugins_loaded_early_bind' ], self::HIGH_PRIORITY );
tests_add_filter( 'setup_theme', [ $this, 'load_pmc_required_plugins' ], self::HIGH_PRIORITY );
tests_add_filter( 'muplugins_loaded', [ $this, 'load_pmc_required_plugins' ], self::HIGH_PRIORITY );
tests_add_filter( 'after_setup_theme', [ $this, 'after_setup_theme_early_bind' ], self::HIGH_PRIORITY );
tests_add_filter( 'after_setup_theme', [ $this, 'after_setup_theme_late_bind' ], self::LOW_PRIORITY );
tests_add_filter( 'pmc_do_not_load_plugin', [ $this, 'pmc_do_not_load_plugin' ], self::DEFAULT_PRIORITY, 4 );
Expand Down

0 comments on commit 75f0665

Please sign in to comment.