forked from mirror/_s
Remove deprecated constant HEADER_TEXTCOLOR
This commit is contained in:
parent
ed64fc99b9
commit
71771d92d7
|
@ -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