diff --git a/src/wp-content/themes/twentynineteen/archive.php b/src/wp-content/themes/twentynineteen/archive.php index 3d2273e43e..88703de75a 100644 --- a/src/wp-content/themes/twentynineteen/archive.php +++ b/src/wp-content/themes/twentynineteen/archive.php @@ -20,8 +20,6 @@ get_header(); diff --git a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php index 0d839a3722..8721dc32af 100644 --- a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php +++ b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php @@ -205,16 +205,16 @@ class TwentyNineteen_SVG_Icons { 'facebook.com', 'fb.me', ), - 'feed' => array( + 'feed' => array( 'feed', ), 'google-plus' => array( 'plus.google.com', ), - 'lastfm' => array( + 'lastfm' => array( 'last.fm', ), - 'mail' => array( + 'mail' => array( 'mailto:', ), 'slideshare' => array( diff --git a/src/wp-content/themes/twentynineteen/functions.php b/src/wp-content/themes/twentynineteen/functions.php index 424e72bb38..1498ee2c52 100644 --- a/src/wp-content/themes/twentynineteen/functions.php +++ b/src/wp-content/themes/twentynineteen/functions.php @@ -263,14 +263,13 @@ function twentynineteen_colors_css_wrap() { require_once get_parent_theme_file_path( '/inc/color-patterns.php' ); - if ( 'default' === get_theme_mod( 'primary_color', 'default' ) ) { - $primary_color = 199; - } else { - $primary_color = absint( get_theme_mod( 'primary_color_hue', 199 ) ); + $primary_color = 199; + if ( 'default' !== get_theme_mod( 'primary_color', 'default' ) ) { + $primary_color = get_theme_mod( 'primary_color_hue', 199 ); } ?> -