From 4f3f0fae083fd27dfdf613c893cdabb2bdd1261c Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 16 Apr 2019 18:21:24 +0000 Subject: [PATCH] Bundled Themes: Reverts [45213]. Reverting to address backward compatibility concerns in Twenty Eleven and Twenty Ten. See #39997. git-svn-id: https://develop.svn.wordpress.org/trunk@45218 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 675e1badca..b3b1466ef4 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(), wp_get_theme()->get( 'Version' ) ); + wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); } 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(), wp_get_theme()->get( 'Version' ) ); + wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' ); } 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 56143a9e98..39cbe89c11 100644 --- a/src/wp-content/themes/twentyeleven/header.php +++ b/src/wp-content/themes/twentyeleven/header.php @@ -48,7 +48,7 @@ if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { ?> - +