[wp-trac] [WordPress Trac] #48330: Theme support, removing background image keeps menu item

WordPress Trac noreply at wordpress.org
Wed Oct 16 18:01:03 UTC 2019


#48330: Theme support, removing background image keeps menu item
--------------------------+-----------------------------
 Reporter:  kebbet        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 If using {{{ add_theme_support( 'custom-background', $args ) }}} in
 combination with {{{ $wp_customize->remove_section( 'background_image' );
 }}} there is a menu option in the Customize menu section saying
 "Background", that leads to a dead end in the customizer. I think that the
 menu item should be removed if the background_image is disabled.

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


More information about the wp-trac mailing list