diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 715d9fe8ce..68b684671b 100644 --- a/src/wp-includes/default-filters.php +++ b/src/wp-includes/default-filters.php @@ -301,8 +301,8 @@ add_action( 'wp_head', 'wp_site_icon', 99 ); add_action( 'wp_footer', 'wp_print_footer_scripts', 20 ); add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 ); add_action( 'wp_print_footer_scripts', '_wp_footer_scripts' ); -add_action( 'init', 'check_theme_switched', 99 ); add_action( 'init', '_register_core_block_patterns_and_categories' ); +add_action( 'init', 'check_theme_switched', 99 ); add_action( 'after_switch_theme', '_wp_menus_changed' ); add_action( 'after_switch_theme', '_wp_sidebars_changed' ); add_action( 'wp_print_styles', 'print_emoji_styles' );