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:
parent
07e415d940
commit
eff63ef3f0
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue