From 8b3d0024866510df31f4ef846bcada5a6a0b7d0d Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 22 May 2014 19:00:30 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-manager.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index eeb4fdc100..42977cbf4e 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -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.