diff --git a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php index 3b6833c388..03dbd308b4 100644 --- a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php +++ b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php @@ -23,7 +23,7 @@ class Twenty_Twenty_One_Custom_Colors { add_action( 'wp_enqueue_scripts', array( $this, 'custom_color_variables' ) ); // Enqueue color variables for editor. - add_action( 'enqueue_block_editor_assets', array( $this, 'editor_custom_color_variables' ) ); + add_action( 'enqueue_block_assets', array( $this, 'editor_custom_color_variables' ) ); // Add body-class if needed. add_filter( 'body_class', array( $this, 'body_class' ) ); diff --git a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php index ceb3a4de90..ec599cfd0b 100644 --- a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php +++ b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php @@ -20,7 +20,7 @@ class Twenty_Twenty_One_Dark_Mode { public function __construct() { // Enqueue assets for the block-editor. - add_action( 'enqueue_block_editor_assets', array( $this, 'editor_custom_color_variables' ) ); + add_action( 'enqueue_block_assets', array( $this, 'editor_custom_color_variables' ) ); // Add styles for dark-mode. add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 29fb1de372..a954fed417 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56299'; +$wp_version = '6.4-alpha-56300'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.