[wp-trac] [WordPress Trac] #27848: WP_Customize_Image_Control and Custom Header Issue

WordPress Trac noreply at wordpress.org
Thu Apr 17 02:57:53 UTC 2014

#27848: WP_Customize_Image_Control and Custom Header Issue
 Reporter:  thelukemcdonald  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  3.9
 Severity:  normal           |   Keywords:
  Focuses:                   |
 It appears the "Remove Image" link in the WP_Customize_Image_Control does
 not show when a theme supports Custom Headers in 3.9. Everything seems to
 work as expected in 3.8.3.

 Below are steps to replicate the issue. I put together a quick theme using
 '''_s''' and attached it to this ticket. The theme includes support for
 Custom Headers and has a `WP_Customize_Image_Control` setting in the

 1. [https://github.com/Automattic/_s/ Download] '''_s''' theme.
 2. Network active theme.
 3. Active '''_s''' theme for site.
 4. Uncomment `require get_template_directory() . '/inc/custom-header.php'`
 in functions.php
 5. Add a `WP_Customize_Image_Control` control to the customizer settings.
 6. Go to ''Appearance > Customize > Site Title & Tagline''
 7. Upload image via the "Logo" setting
 8. NOTE: The image uploads and the "Remove Image" links shows as expected.
 9. Close Customizer screen.
 10. Open customizer again and try to remove "Logo" image. "Remove Image"
 link is gone.
 11. Comment out `require get_template_directory() . '/inc/custom-
 header.php'` in functions.php
 12. Open customizer and try to remove "Logo" image. "Remove Image" link

Ticket URL: <https://core.trac.wordpress.org/ticket/27848>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list