From 3cd9474d68367d9addb03d74d1dc886ade07892f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 21 Jul 2020 14:37:07 +0000 Subject: [PATCH] Block Editor: Move the `add_action()` call for `_register_core_block_patterns_and_categories()` above `check_theme_switched()`. Follow-up to [48492], [48531]. See #50669. Built from https://develop.svn.wordpress.org/trunk@48533 git-svn-id: http://core.svn.wordpress.org/trunk@48295 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 715d9fe8ce..68b684671b 100644 --- a/wp-includes/default-filters.php +++ b/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' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cf6f6d8f37..93d6a83a4c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta2-48532'; +$wp_version = '5.5-beta2-48533'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.