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

    r45213 r45218  
    317317
    318318    // Load our main stylesheet.
    319     wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
     319    wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
    320320
    321321    // Theme block stylesheet.
    322     wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), wp_get_theme()->get( 'Version' ) );
     322    wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181230' );
    323323
    324324    // Load the Internet Explorer specific stylesheet.
    325     wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), wp_get_theme()->get( 'Version' ) );
     325    wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' );
    326326    wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
    327327
     
    396396function twentyfourteen_block_editor_styles() {
    397397    // Block styles.
    398     wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     398    wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    399399    // Add custom fonts.
    400400    wp_enqueue_style( 'twentyfourteen-fonts', twentyfourteen_font_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.