From 72ef7ee3154a65f3d6718cfdd866e84bf065a764 Mon Sep 17 00:00:00 2001 From: ianbelanger Date: Fri, 24 Apr 2020 14:59:07 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty remove unnecessary `$css_dependencies` variable in `twentytwenty_block_editor_styles()`. Removes the unnecessary `$css_dependencies` variable in `twentytwenty_block_editor_styles()`. Props ocean90, Dency. Fixes #49986. Built from https://develop.svn.wordpress.org/trunk@47618 git-svn-id: http://core.svn.wordpress.org/trunk@47393 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/functions.php | 4 +--- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentytwenty/functions.php b/wp-content/themes/twentytwenty/functions.php index 47c950a44f..9835d2c21e 100644 --- a/wp-content/themes/twentytwenty/functions.php +++ b/wp-content/themes/twentytwenty/functions.php @@ -391,10 +391,8 @@ add_action( 'widgets_init', 'twentytwenty_sidebar_registration' ); */ function twentytwenty_block_editor_styles() { - $css_dependencies = array(); - // Enqueue the editor styles. - wp_enqueue_style( 'twentytwenty-block-editor-styles', get_theme_file_uri( '/assets/css/editor-style-block.css' ), $css_dependencies, wp_get_theme()->get( 'Version' ), 'all' ); + wp_enqueue_style( 'twentytwenty-block-editor-styles', get_theme_file_uri( '/assets/css/editor-style-block.css' ), array(), wp_get_theme()->get( 'Version' ), 'all' ); wp_style_add_data( 'twentytwenty-block-editor-styles', 'rtl', 'replace' ); // Add inline style from the Customizer. diff --git a/wp-includes/version.php b/wp-includes/version.php index 1329c8df24..61c4006de1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47617'; +$wp_version = '5.5-alpha-47618'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.