From 9cc9b023b4a1f16785072b3518f5f5c26b524bfc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 21 Feb 2014 20:52:13 +0000 Subject: [PATCH] Remove unused variable. props ericlewis. fixes #27176. Built from https://develop.svn.wordpress.org/trunk@27227 git-svn-id: http://core.svn.wordpress.org/trunk@27084 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index 4afe7f75a0..7b559d30da 100644 --- a/wp-includes/nav-menu-template.php +++ b/wp-includes/nav-menu-template.php @@ -82,7 +82,7 @@ class Walker_Nav_Menu extends Walker { function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; - $class_names = $value = ''; + $class_names = ''; $classes = empty( $item->classes ) ? array() : (array) $item->classes; $classes[] = 'menu-item-' . $item->ID; @@ -115,7 +115,7 @@ class Walker_Nav_Menu extends Walker { $id = apply_filters( 'nav_menu_item_id', 'menu-item-'. $item->ID, $item, $args ); $id = $id ? ' id="' . esc_attr( $id ) . '"' : ''; - $output .= $indent . ''; + $output .= $indent . ''; $atts = array(); $atts['title'] = ! empty( $item->attr_title ) ? $item->attr_title : '';