Fixed tracking of load events when network–activated.
This commit is contained in:
1 parent
8be22411f7
commit
2700d83208
4 files changed
+24
-6
No files matched your search
@@ -18,7 +18,6 @@ class HookTest extends LapsTestCase {
|
||||
$stopwatch = new Stopwatch();
|
||||
$collector = new Hook_Collector( $stopwatch, [ 'core' => new Core_Events() ] );
|
||||
|
||||
$this->assertTrue( $stopwatch->isStarted( 'Plugins Load' ) );
|
||||
$this->assertTrue( has_action( 'after_setup_theme', [ $collector, 'after_setup_theme' ] ) );
|
||||
|
||||
$this->assertTrue( has_action( 'plugins_loaded', 'function ($input)' ) );
|
||||
|
||||
Reference in new issue
Block a user