From e0563013ed5fdf34f6ca1648fc78cbae024fba70 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Aug 2019 01:25:58 +0000 Subject: [PATCH] Bundled Themes: Audit and update version numbers passed to `wp_enqueue_style()` to ensure proper cache busting. Props dswebsme, ianbelanger, desrosj. Fixes #46979. Built from https://develop.svn.wordpress.org/trunk@45767 git-svn-id: http://core.svn.wordpress.org/trunk@45578 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/functions.php | 4 ++-- wp-content/themes/twentyeleven/header.php | 2 +- wp-content/themes/twentyeleven/inc/theme-options.php | 4 ++-- wp-content/themes/twentyfifteen/functions.php | 10 +++++----- wp-content/themes/twentyfourteen/functions.php | 8 ++++---- wp-content/themes/twentyseventeen/functions.php | 12 ++++++------ wp-content/themes/twentysixteen/functions.php | 12 ++++++------ wp-content/themes/twentyten/functions.php | 4 ++-- wp-content/themes/twentyten/header.php | 2 +- wp-content/themes/twentythirteen/functions.php | 8 ++++---- wp-content/themes/twentytwelve/functions.php | 8 ++++---- wp-includes/version.php | 2 +- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index b70e7130f5..6c248e9f60 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -294,7 +294,7 @@ endif; // twentyeleven_setup */ function twentyeleven_scripts_styles() { // Theme block stylesheet. - wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); + wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20190102' ); } add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); @@ -305,7 +305,7 @@ add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); */ function twentyeleven_block_editor_styles() { // Block styles. - wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' ); + wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20190102' ); } add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' ); diff --git a/wp-content/themes/twentyeleven/header.php b/wp-content/themes/twentyeleven/header.php index 34a31806bf..e6ce35302d 100644 --- a/wp-content/themes/twentyeleven/header.php +++ b/wp-content/themes/twentyeleven/header.php @@ -49,7 +49,7 @@ if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { ?> - +