mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 06:07:00 +00:00
460c358859241d957bd3ef6748f9090a3c2b01ee
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. git-svn-id: https://develop.svn.wordpress.org/trunk@39622 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%