In `WP_Customize_Manager::register_controls()`, `$menu_locations` is set and never used.

Built from https://develop.svn.wordpress.org/trunk@28546


git-svn-id: http://core.svn.wordpress.org/trunk@28372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-22 19:01:15 +00:00
parent d22b5226a8
commit 6177a39971
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.