[wp-trac] [WordPress Trac] #39101: Customize: edit shortcuts for custom menu widgets do not work

WordPress Trac noreply at wordpress.org
Fri Dec 30 06:12:58 UTC 2016


#39101: Customize: edit shortcuts for custom menu widgets do not work
------------------------------------------+--------------------------
 Reporter:  celloexpressions              |       Owner:  westonruter
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.7.1
Component:  Customize                     |     Version:  4.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+--------------------------
Changes (by dd32):

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


Comment:

 In [changeset:"39653"]:
 {{{
 #!CommitTicketReference repository="" revision="39653"
 Customize: Fix visible edit shortcuts for `wp_nav_menu()` instances using
 the `menu` arg (such as in the Custom Menu widget) instead of the
 `theme_location` arg.

 Also fix logic for `focus-control-for-setting` handler to focus on the
 first control (lowest `priority` value) associated with a given setting
 instead of the last control encountered when iterating over all controls,
 as this ensures the first control in a `nav_menu` section is focused
 rather than the last one.

 Props westonruter, sirbrillig.
 See #27403.
 Merges [39622] to the 4.7 branch.
 Fixes #39101.
 }}}

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


More information about the wp-trac mailing list