From 855232ec6009dcca062e88f01ac1bed44328d373 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 16 Apr 2019 14:06:33 +0000 Subject: [PATCH] Twenty Thirteen: Correct Genericons stylesheet version number. In [28693], the Genericons stylesheet was updated to `3.0.3`, but the version was incorrectly indicated as `3.03`. See #39997. git-svn-id: https://develop.svn.wordpress.org/trunk@45212 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentythirteen/functions.php | 4 ++-- src/wp-content/themes/twentythirteen/inc/custom-header.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index 12ca2ea745..f10e2697f4 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -278,7 +278,7 @@ function twentythirteen_scripts_styles() { wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); // Add Genericons font, used in the main stylesheet. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' ); + wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' ); // Loads our main stylesheet. wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' ); @@ -324,7 +324,7 @@ add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 ); */ function twentythirteen_block_editor_styles() { // Block styles. - wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' ); + wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ) ); // Add custom fonts. wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); } diff --git a/src/wp-content/themes/twentythirteen/inc/custom-header.php b/src/wp-content/themes/twentythirteen/inc/custom-header.php index 55679ce9ec..29a98f3f52 100644 --- a/src/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/src/wp-content/themes/twentythirteen/inc/custom-header.php @@ -74,7 +74,7 @@ function twentythirteen_custom_header_fonts() { wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); // Add Genericons font. - wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' ); + wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' ); } add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' );