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

WordPress Trac noreply at wordpress.org
Tue Dec 20 22:04:25 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  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"39622"]:
 {{{
 #!CommitTicketReference repository="" revision="39622"
 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.
 Fixes #39101.
 }}}

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


More information about the wp-trac mailing list