You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/phpunit/tests/template.php
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -851,6 +851,47 @@ public function test_wp_always_load_block_styles_on_demand_init_in_classic_theme
851
851
$this->assertTrue( true == has_action( 'wp_template_enhancement_output_buffer_started', 'wp_use_placeholder_for_delayed_css' ), 'Expect wp_template_enhancement_output_buffer_started filter to be added for classic themes.' );
852
852
}
853
853
854
+
/**
855
+
* Tests that wp_use_placeholder_for_delayed_css adds a placeholder for delayed CSS, then removes it and adds all CSS to the head including late enqueued styles.
0 commit comments