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:
Scott Taylor 2014-05-22 19:00:30 +00:00
parent e53cdbb8f0
commit 8b3d002486
1 changed files with 1 additions and 2 deletions

View File

@ -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.