In `Walker_Nav_Menu::start_el()`, `$class_names` is set twice before it is used.

See #27882.


git-svn-id: https://develop.svn.wordpress.org/trunk@28330 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-06 21:32:25 +00:00
parent 3f2a078f5e
commit b626b11590
1 changed files with 0 additions and 2 deletions

View File

@ -81,8 +81,6 @@ 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 = '';
$classes = empty( $item->classes ) ? array() : (array) $item->classes;
$classes[] = 'menu-item-' . $item->ID;