[wp-trac] [WordPress Trac] #36018: Ensure autofocus for dynamically-created panels, sections, and controls

WordPress Trac noreply at wordpress.org
Tue Mar 1 22:03:31 UTC 2016


#36018: Ensure autofocus for dynamically-created panels, sections, and controls
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Customize         |     Version:  4.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"36796"]:
 {{{
 #!CommitTicketReference repository="" revision="36796"
 Customize: Ensure autofocus deep-linking applies for dynamically-created
 panels, sections, and controls.

 Removes overly-zealous filtering of autofocus panels, sections, and
 controls which are unrecognized or for which the user doesn't have the
 capability to focus (in which case it would no-op anyway). Also defers
 autofocus logic until instances are created, even after initial `ready`
 event. This ensures that autofocus can apply for any panels, sections, or
 controls that get created via the loaded preview.

 See #28650.
 Fixes #36018.
 }}}

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


More information about the wp-trac mailing list