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