diff --git a/inc/custom-header.php b/inc/custom-header.php index 22a587ab..080af6b3 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -91,17 +91,19 @@ if ( ! function_exists( '_s_header_style' ) ) : * @see _s_custom_header_setup(). */ function _s_header_style() { + $header_text_color = get_header_textcolor(); // If no custom options for text are set, let's bail // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value - if ( HEADER_TEXTCOLOR == get_header_textcolor() ) + if ( HEADER_TEXTCOLOR == $header_text_color ) return; + // If we get this far, we have custom styles. Let's do this. ?> @@ -157,13 +159,15 @@ if ( ! function_exists( '_s_admin_header_image' ) ) : * * @see _s_custom_header_setup(). */ -function _s_admin_header_image() { ?> +function _s_admin_header_image() { + $header_text_color = get_header_textcolor(); +?>

onclick="return false;" href="">

>
@@ -172,5 +176,6 @@ function _s_admin_header_image() { ?>
-