diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 5a81102e2..841d61f98 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -208,7 +208,7 @@ class Custom_Image_Header { return; } - if ( ! isset( $_POST['display-header-text'] ) ) { + if ( isset( $_POST['text-color'] ) && ! isset( $_POST['display-header-text'] ) ) { check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); set_theme_mod( 'header_textcolor', 'blank' ); } elseif ( isset( $_POST['text-color'] ) ) {