Skip to content

Commit 64d7d8e

Browse files
committed
Tweak comments
1 parent e274e28 commit 64d7d8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-includes/script-loader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3591,7 +3591,7 @@ function wp_load_classic_theme_block_styles_on_demand() {
35913591
*/
35923592
add_filter( 'wp_should_output_buffer_template_for_enhancement', '__return_true', 0 );
35933593

3594-
// If a site has opted out of the template enhancement output buffer, then we must abort.
3594+
// If a site has opted out of the template enhancement output buffer, then bail.
35953595
if ( ! wp_should_output_buffer_template_for_enhancement() ) {
35963596
return;
35973597
}
@@ -3601,13 +3601,13 @@ function wp_load_classic_theme_block_styles_on_demand() {
36013601
/*
36023602
* Load separate block styles so that the large block-library stylesheet is not enqueued unconditionally,
36033603
* and so that block-specific styles will only be enqueued when they are used on the page.
3604-
* A priority of zero allows for this to be easily overridden by themes which wish to opt-out.
3604+
* A priority of zero allows for this to be easily overridden by themes which wish to opt out.
36053605
*/
36063606
add_filter( 'should_load_separate_core_block_assets', '__return_true', 0 );
36073607

36083608
/*
36093609
* Also ensure that block assets are loaded on demand (although the default value is from should_load_separate_core_block_assets).
3610-
* As above, a priority of zero allows for this to be easily overridden by themes which wish to opt-out.
3610+
* As above, a priority of zero allows for this to be easily overridden by themes which wish to opt out.
36113611
*/
36123612
add_filter( 'should_load_block_assets_on_demand', '__return_true', 0 );
36133613

0 commit comments

Comments
 (0)