forked from mirror/_s
Merge pull request #991 from grappler/custom-header
Remove deprecated constant HEADER_TEXTCOLOR : props @grappler
This commit is contained in:
commit
59fc136158
|
@ -43,9 +43,9 @@ function _s_header_style() {
|
|||
|
||||
/*
|
||||
* If no custom options for text are set, let's bail.
|
||||
* get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: HEADER_TEXTCOLOR.
|
||||
* get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ).
|
||||
*/
|
||||
if ( HEADER_TEXTCOLOR === $header_text_color ) {
|
||||
if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue