From 71771d92d7eeeee237f79d2b71e8ac43dd49e4c6 Mon Sep 17 00:00:00 2001 From: Ulrich Pogson Date: Sun, 24 Jul 2016 21:22:27 +0200 Subject: [PATCH] Remove deprecated constant HEADER_TEXTCOLOR --- inc/custom-header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/custom-header.php b/inc/custom-header.php index cfa68f8d..8954d763 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -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; }