Changeset 30032
- Timestamp:
- 10/26/2014 11:18:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu-template.php
r29792 r30032 96 96 * @param array $args An array of wp_nav_menu() arguments. 97 97 */ 98 $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );98 $class_names = join( ' ', (array) apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) ); 99 99 $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : ''; 100 100
Note: See TracChangeset
for help on using the changeset viewer.