Skip to content

Commit 13fe697

Browse files
committed
Bundled Themes: Modernize Genericons.
This updates Twenty Thirteen, Twenty Fourteen, Twenty Fifteen, and Twenty Sixteen as follows: * Remove legacy Internet Explorer support by deleting EOT file rules from CSS. * Remove IE hacks from the version included in Twenty Thirteen and Twenty Fourteen. * Remove `filter` rules from the CSS included in Twenty Sixteen. * Remove the TTF and SVG `src` references for all four themes. * Remove all prefixes from transform in the rotate and flip classes available in Twenty Sixteen. * Edit the values for prefixed transition properties in Twenty Fifteen and Twenty Sixteen. * Update CSS comments. Developed in #10427 Props sabernhardt, metodiew, peterwilsoncc, mukesh27, westonruter. See #56699, #58836. Fixes #62128. git-svn-id: https://develop.svn.wordpress.org/trunk@61109 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 79b5b5d commit 13fe697

File tree

9 files changed

+17
-128
lines changed

9 files changed

+17
-128
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function twentyfifteen_scripts() {
434434
wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), $font_version );
435435

436436
// Add Genericons, used in the main stylesheet.
437-
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20201026' );
437+
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251202' );
438438

439439
// Load our main stylesheet.
440440
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20250415' );

src/wp-content/themes/twentyfifteen/genericons/genericons.css

Lines changed: 4 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-content/themes/twentyfourteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function twentyfourteen_scripts() {
342342
wp_enqueue_style( 'twentyfourteen-lato', twentyfourteen_font_url(), array(), $font_version );
343343

344344
// Add Genericons font, used in the main stylesheet.
345-
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
345+
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251202' );
346346

347347
// Load our main stylesheet.
348348
wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array(), '20250715' );

src/wp-content/themes/twentyfourteen/genericons/genericons.css

Lines changed: 2 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-content/themes/twentysixteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function twentysixteen_scripts() {
402402
wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), $font_version );
403403

404404
// Add Genericons, used in the main stylesheet.
405-
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20201208' );
405+
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251202' );
406406

407407
// Theme stylesheet.
408408
wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri(), array(), '20250715' );

src/wp-content/themes/twentysixteen/genericons/genericons.css

Lines changed: 4 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-content/themes/twentythirteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function twentythirteen_scripts_styles() {
341341
wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), $font_version );
342342

343343
// Add Genericons font, used in the main stylesheet.
344-
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
344+
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251202' );
345345

346346
// Loads our main stylesheet.
347347
wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20250415' );

src/wp-content/themes/twentythirteen/genericons/genericons.css

Lines changed: 2 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-content/themes/twentythirteen/inc/custom-header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function twentythirteen_custom_header_fonts() {
7474
wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
7575

7676
// Add Genericons font.
77-
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
77+
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251202' );
7878
}
7979
add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' );
8080

0 commit comments

Comments
 (0)