File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3596,7 +3596,7 @@ function wp_load_classic_theme_block_styles_on_demand() {
35963596 return ;
35973597 }
35983598
3599- // The following to filters are added by default for block themes in _add_default_theme_supports().
3599+ // The following two filters are added by default for block themes in _add_default_theme_supports().
36003600
36013601 /*
36023602 * Load separate block styles so that the large block-library stylesheet is not enqueued unconditionally,
@@ -3611,7 +3611,7 @@ function wp_load_classic_theme_block_styles_on_demand() {
36113611 */
36123612 add_filter ( 'should_load_block_assets_on_demand ' , '__return_true ' , 0 );
36133613
3614- // If even with the filtering
3614+ // If a site has explicitly opted out of loading block styles on demand via filters with priorities higher than above, then abort.
36153615 if ( ! wp_should_load_separate_core_block_assets () || ! wp_should_load_block_assets_on_demand () ) {
36163616 return ;
36173617 }
You can’t perform that action at this time.
0 commit comments