WordPress.org

Make WordPress Core

Ticket #26529: custom-header.patch

File custom-header.patch, 700 bytes (added by NikV, 7 years ago)
  • src/wp-content/themes/twentyfourteen/inc/custom-header.php

     
    5858        $text_color = get_header_textcolor();
    5959
    6060        // If no custom color for text is set, let's bail.
    61         if ( display_header_text() && $text_color === get_theme_support( 'custom-header', 'default-text-color' ) )
     61        if ( display_header_text() && $text_color === get_theme_support( 'custom-header', 'default-text-color' ) ) {
    6262                return;
     63        }
    6364
    6465        // If we get this far, we have custom styles.
    6566        ?>