mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -175,7 +175,7 @@ function wp_nav_menu_sub_items($childof, $items_counter, $parentli, $type, $outp
|
||||
|
||||
if ( $sub_array ) {
|
||||
?>
|
||||
<ul id="sub-custom-nav-<?php echo $type ?>">
|
||||
<ul id="sub-menu-<?php echo $type ?>">
|
||||
|
||||
<?php
|
||||
// Display Loop
|
||||
@@ -221,7 +221,7 @@ function wp_nav_menu_setup($override = false) {
|
||||
// Custom Navigation Menu Setup
|
||||
|
||||
// Override for menu descriptions
|
||||
update_option('wp_settings_custom_nav_advanced_options', 'yes');
|
||||
update_option('wp_settings_nav_menu_advanced_options', 'yes');
|
||||
|
||||
$menus = wp_get_nav_menus();
|
||||
if ( !empty( $menus ) ) {
|
||||
|
||||
Reference in New Issue
Block a user