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

    r45213 r45218  
    368368
    369369    // Load our main stylesheet.
    370     wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
     370    wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
    371371
    372372    // Theme block stylesheet.
    373     wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ) );
     373    wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20181230' );
    374374
    375375    // Load the Internet Explorer specific stylesheet.
    376     wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ) );
     376    wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
    377377    wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
    378378
    379379    // Load the Internet Explorer 7 specific stylesheet.
    380     wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ) );
     380    wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141010' );
    381381    wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' );
    382382
     
    410410function twentyfifteen_block_editor_styles() {
    411411    // Block styles.
    412     wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) );
     412    wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' );
    413413    // Add custom fonts.
    414414    wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
Note: See TracChangeset for help on using the changeset viewer.