display_header_text() should only return true if the theme mod value is not 'blank'. An empty string is valid -- there is no requirement for it to be truthy. see #18887. see #20600.

git-svn-id: http://core.svn.wordpress.org/trunk@20772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-05-11 19:55:07 +00:00
parent 07e415d940
commit eff63ef3f0
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ function display_header_text() {
return false;
$text_color = get_theme_mod( 'header_textcolor', get_theme_support( 'custom-header', 'default-text-color' ) );
return $text_color && 'blank' != $text_color;
return 'blank' != $text_color;
}
/**