Remove unused variable.

props ericlewis.
fixes #27176.


git-svn-id: https://develop.svn.wordpress.org/trunk@27227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-02-21 20:51:23 +00:00
parent bd71233c81
commit 909fe70f4e

View File

@ -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 . '<li' . $id . $value . $class_names .'>';
$output .= $indent . '<li' . $id . $class_names .'>';
$atts = array();
$atts['title'] = ! empty( $item->attr_title ) ? $item->attr_title : '';