WordPress.org

Make WordPress Core

Changeset 30592


Ignore:
Timestamp:
11/28/2014 01:28:28 AM (6 years ago)
Author:
johnbillion
Message:

Revert [30032] so appropriate PHP warnings aren't masked.

Fixes #28743

File:
1 edited

Legend:

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

    r30543 r30592  
    9696         * @param int    $depth   Depth of menu item. Used for padding.
    9797         */
    98         $class_names = join( ' ', (array) apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth ) );
     98        $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth ) );
    9999        $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
    100100
Note: See TracChangeset for help on using the changeset viewer.