From f5566a4837acc2fff4b64bb9d8e9737a536798f7 Mon Sep 17 00:00:00 2001 From: Dac Chartrand Date: Wed, 14 Feb 2018 15:27:09 -0500 Subject: [PATCH] Suppress header text colour in customizer (fixes #86) --- inc/customizer/namespace.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/customizer/namespace.php b/inc/customizer/namespace.php index dd08d03..0a8c33b 100644 --- a/inc/customizer/namespace.php +++ b/inc/customizer/namespace.php @@ -16,9 +16,10 @@ use PressbooksMix\Assets; */ function customize_register( \WP_Customize_Manager $wp_customize ) { - // Remove unsupported WP controls + // Remove unsupported WP controls, @see \WP_Customize_Manager::register_controls $wp_customize->remove_control( 'display_header_text' ); + $wp_customize->remove_control( 'header_textcolor' ); // Add Pressbooks controls