Remove deprecated constant HEADER_TEXTCOLOR

This commit is contained in:
Ulrich Pogson 2016-07-24 21:22:27 +02:00
parent ed64fc99b9
commit 71771d92d7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}