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/twentyten/functions.php

    r45213 r45218  
    704704function twentyten_scripts_styles() {
    705705    // Theme block stylesheet.
    706     wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     706    wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' );
    707707}
    708708add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' );
     
    715715function twentyten_block_editor_styles() {
    716716    // Block styles.
    717     wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     717    wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );
    718718}
    719719add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' );
Note: See TracChangeset for help on using the changeset viewer.