Make WordPress Core


Ignore:
Timestamp:
04/16/2019 06:21:24 PM (6 years ago)
Author:
desrosj
Message:

Bundled Themes: Reverts [45213].

Reverting to address backward compatibility concerns in Twenty Eleven and Twenty Ten.

See #39997.

File:
1 edited

Legend:

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

    r45213 r45218  
    295295function twentyeleven_scripts_styles() {
    296296    // Theme block stylesheet.
    297     wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     297    wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' );
    298298}
    299299add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
     
    306306function twentyeleven_block_editor_styles() {
    307307    // Block styles.
    308     wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     308    wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' );
    309309}
    310310add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' );
Note: See TracChangeset for help on using the changeset viewer.