Conflict with WP Customize
-
Hello,
There is a following error when I go to WP Customize
Fatal error: Cannot redeclare sanitize_hex_color() (previously declared in wp-content/plugins/chat/chat.php:2606) in wp-includes/class-wp-customize-manager.php on line 1624
Theme contains following code
$wp_customize->add_section( 'DD_colors_section' , array( 'title' => 'Colors', 'priority' => 31, 'description' => 'Change colors of theme.', ) ); $wp_customize->add_setting( 'DD_signupbg', array( 'default' => '#f8ff45', 'sanitize_callback' => 'sanitize_hex_color' )); $wp_customize->add_control( new WP_Customize_Color_Control ( $wp_customize, 'DD_signupbg', array( 'label' => 'Top Sign Up link Background.', 'priority' => 1, 'section' => 'DD_colors_section', 'settings' => 'DD_signupbg', ) ) );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Conflict with WP Customize’ is closed to new replies.