Fixed tracking of load events when network–activated.

This commit is contained in:
Andrey Savchenko committed 2019-01-29 17:42:10 +02:00
1 parent 8be22411f7
commit 2700d83208
4 files changed
+24 -6

No files matched your search

-1
View File
@@ -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)' ) );