WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/06/2014 09:32:25 PM (6 years ago)
Author:
wonderboymusic
Message:

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

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu-template.php

    r27386 r28330  
    8181    function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
    8282        $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
    83 
    84         $class_names = '';
    8583
    8684        $classes = empty( $item->classes ) ? array() : (array) $item->classes;
Note: See TracChangeset for help on using the changeset viewer.