diff --git a/src/wp-content/themes/twentyfourteen/inc/custom-header.php b/src/wp-content/themes/twentyfourteen/inc/custom-header.php
index d3fe05f80d..96a26dbbc5 100644
--- a/src/wp-content/themes/twentyfourteen/inc/custom-header.php
+++ b/src/wp-content/themes/twentyfourteen/inc/custom-header.php
@@ -55,30 +55,31 @@ if ( ! function_exists( 'twentyfourteen_header_style' ) ) :
*
*/
function twentyfourteen_header_style() {
- $header_text_color = get_header_textcolor();
+ $text_color = get_header_textcolor();
- // If no custom options for text are set, let's bail
- // $header_text_color options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
- if ( HEADER_TEXTCOLOR == $header_text_color )
+ // If no custom color for text is set, let's bail.
+ if ( display_header_text() && $text_color === get_theme_support( 'custom-header', 'default-text-color' ) )
return;
- // If we get this far, we have custom styles. Let's do this.
+
+ // If we get this far, we have custom styles.
?>
-
@@ -97,7 +98,7 @@ if ( ! function_exists( 'twentyfourteen_admin_header_style' ) ) :
*/
function twentyfourteen_admin_header_style() {
?>
-