Skip to content

Commit fb1dd0d

Browse files
committed
Add since tag to document change in action
1 parent 29718f6 commit fb1dd0d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/wp-includes/script-loader.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3678,10 +3678,11 @@ function wp_remove_surrounding_empty_script_tags( $contents ) {
36783678
* the filters are added to cause {@see wp_should_load_separate_core_block_assets()} to return true.
36793679
*
36803680
* @since 6.9.0
3681+
* @since 7.0.0 This is now invoked at the `wp_default_styles` action with priority 0 instead of at `init` with priority 8.
36813682
*
36823683
* @see _add_default_theme_supports()
36833684
*/
3684-
function wp_load_classic_theme_block_styles_on_demand() {
3685+
function wp_load_classic_theme_block_styles_on_demand(): void {
36853686
// This is not relevant to block themes, as they are opted in to loading separate styles on demand via _add_default_theme_supports().
36863687
if ( wp_is_block_theme() ) {
36873688
return;

0 commit comments

Comments
 (0)