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: https://develop.svn.wordpress.org/trunk@20772 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-05-11 19:55:07 +00:00
parent 7bb44e9f43
commit bd4441edc6
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;
}
/**