In WP_Customize_Manager::register_controls()
, $menu_locations
is set and never used.
git-svn-id: https://develop.svn.wordpress.org/trunk@28546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e53cdbb8f0
commit
8b3d002486
@ -978,7 +978,6 @@ final class WP_Customize_Manager {
|
||||
|
||||
$locations = get_registered_nav_menus();
|
||||
$menus = wp_get_nav_menus();
|
||||
$menu_locations = get_nav_menu_locations();
|
||||
$num_locations = count( array_keys( $locations ) );
|
||||
|
||||
$this->add_section( 'nav', array(
|
||||
@ -1084,7 +1083,7 @@ final class WP_Customize_Manager {
|
||||
|
||||
return $color;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Sanitizes a hex color.
|
||||
|
Loading…
Reference in New Issue
Block a user