Merge pull request #991 from grappler/custom-header

Remove deprecated constant HEADER_TEXTCOLOR : props @grappler
This commit is contained in:
Tammie Lister 2016-12-23 14:22:52 +00:00 committed by GitHub
commit 59fc136158
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. * 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; return;
} }