[wp-trac] [WordPress Trac] #37471: Customizer: Widgets: If your theme only has one widget area, we should open it automatically

WordPress Trac noreply at wordpress.org
Fri Apr 7 19:26:32 UTC 2017


#37471: Customizer: Widgets: If your theme only has one widget area, we should open
it automatically
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  normal                               |      Status:  closed
Component:  Customize                            |   Milestone:  4.7.4
 Severity:  normal                               |     Version:  4.0
 Keywords:  has-screenshots needs-testing has-   |  Resolution:  fixed
  patch commit                                   |     Focuses:  ui,
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40395"]:
 {{{
 #!CommitTicketReference repository="" revision="40395"
 Customize: Auto-expand a widget area section when expanding the Widgets
 panel if there is only one registered sidebar and it is active.

 Introduces `WP_Customize_Panel::$auto_expand_sole_section` property which
 allows panels to opt-in to the behavior, which the Widgets panel is made
 to do by default.

 Props delawski, westonruter, melchoyce.
 Fixes #37471.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37471#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list