[wp-trac] [WordPress Trac] #34514: Newly added widgets no longer auto-expand

WordPress Trac noreply at wordpress.org
Sun Nov 1 22:26:50 UTC 2015


#34514: Newly added widgets no longer auto-expand
--------------------------+--------------------------
 Reporter:  Clorith       |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"35486"]:
 {{{
 #!CommitTicketReference repository="" revision="35486"
 Customize: Fix auto-expand (and focus) on newly added widgets.

 Add widget controls with an initially-true `active` state so that calling
 `expand()` will not be short-circuited. Previously the `active` state
 would be set once the preview refreshes, but this happens too late for the
 `addWidget` call. Fixes regression introduced in [35231].

 Fixes #34514.
 }}}

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


More information about the wp-trac mailing list