Make WordPress Core

Ticket #49986: 49986.diff

File 49986.diff, 870 bytes (added by Dency, 5 years ago)
  • src/wp-content/themes/twentytwenty/functions.php

     
    391391 */
    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
    400398        // Add inline style from the Customizer.