From e58b5f1c7f3cf55ae607a5186b1e3783f656db2d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Aug 2019 01:24:32 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@45767 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/functions.php | 4 ++-- src/wp-content/themes/twentyeleven/header.php | 2 +- .../themes/twentyeleven/inc/theme-options.php | 4 ++-- src/wp-content/themes/twentyfifteen/functions.php | 10 +++++----- src/wp-content/themes/twentyfourteen/functions.php | 8 ++++---- src/wp-content/themes/twentyseventeen/functions.php | 12 ++++++------ src/wp-content/themes/twentysixteen/functions.php | 12 ++++++------ src/wp-content/themes/twentyten/functions.php | 4 ++-- src/wp-content/themes/twentyten/header.php | 2 +- src/wp-content/themes/twentythirteen/functions.php | 8 ++++---- src/wp-content/themes/twentytwelve/functions.php | 8 ++++---- 11 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/functions.php b/src/wp-content/themes/twentyeleven/functions.php index b70e7130f5..6c248e9f60 100644 --- a/src/wp-content/themes/twentyeleven/functions.php +++ b/src/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/src/wp-content/themes/twentyeleven/header.php b/src/wp-content/themes/twentyeleven/header.php index 34a31806bf..e6ce35302d 100644 --- a/src/wp-content/themes/twentyeleven/header.php +++ b/src/wp-content/themes/twentyeleven/header.php @@ -49,7 +49,7 @@ if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { ?> - +