WordPress.org

Make WordPress Core

Changeset 47618


Ignore:
Timestamp:
04/24/2020 02:57:07 PM (21 months ago)
Author:
ianbelanger
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r47607 r47618  
    392392function twentytwenty_block_editor_styles() {
    393393
    394     $css_dependencies = array();
    395 
    396394    // Enqueue the editor styles.
    397     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' );
     395    wp_enqueue_style( 'twentytwenty-block-editor-styles', get_theme_file_uri( '/assets/css/editor-style-block.css' ), array(), wp_get_theme()->get( 'Version' ), 'all' );
    398396    wp_style_add_data( 'twentytwenty-block-editor-styles', 'rtl', 'replace' );
    399397
Note: See TracChangeset for help on using the changeset viewer.