WordPress.org

Make WordPress Core

Ticket #39997: 39997.patch

File 39997.patch, 9.1 KB (added by parsmizban, 3 years ago)

Patch

  • wp-content/themes/twentyfifteen/functions.php

     
    257257        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
    258258
    259259        // Load our main stylesheet.
    260         wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
     260        wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
    261261
    262262        // Load the Internet Explorer specific stylesheet.
    263263        wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
  • wp-content/themes/twentyfifteen/style.css

     
    44Author: the WordPress team
    55Author URI: https://wordpress.org/
    66Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
    7 Version: 1.7
     7Version: 1.8
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
  • wp-content/themes/twentyfourteen/functions.php

     
    237237        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
    238238
    239239        // Load our main stylesheet.
    240         wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
     240        wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
    241241
    242242        // Load the Internet Explorer specific stylesheet.
    243243        wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' );
  • wp-content/themes/twentyfourteen/style.css

     
    44Author: the WordPress team
    55Author URI: https://wordpress.org/
    66Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
    7 Version: 1.9
     7Version: 2.0
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
  • wp-content/themes/twentyseventeen/functions.php

     
    413413        wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null );
    414414
    415415        // Theme stylesheet.
    416         wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri() );
     416        wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
    417417
    418418        // Load the dark colorscheme.
    419419        if ( 'dark' === get_theme_mod( 'colorscheme', 'light' ) || is_customize_preview() ) {
  • wp-content/themes/twentyseventeen/style.css

     
    44Author: the WordPress team
    55Author URI: https://wordpress.org/
    66Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
    7 Version: 1.1
     7Version: 1.2
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Text Domain: twentyseventeen
  • wp-content/themes/twentythirteen/functions.php

     
    182182        wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' );
    183183
    184184        // Loads our main stylesheet.
    185         wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' );
     185        wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
    186186
    187187        // Loads the Internet Explorer specific stylesheet.
    188188        wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' );
  • wp-content/themes/twentythirteen/style.css

     
    44Author: the WordPress team
    55Author URI: https://wordpress.org/
    66Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
    7 Version: 2.1
     7Version: 2.2
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
  • wp-content/themes/twentytwelve/functions.php

     
    149149                wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null );
    150150
    151151        // Loads our main stylesheet.
    152         wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
     152        wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );
    153153
    154154        // Loads the Internet Explorer specific stylesheet.
    155155        wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' );
  • wp-content/themes/twentytwelve/style.css

     
    44Author: the WordPress team
    55Author URI: https://wordpress.org/
    66Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
    7 Version: 2.2
     7Version: 2.3
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready