WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/03/2010 10:52:30 PM (10 years ago)
Author:
nacin
Message:

Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r13944 r13974  
    11971197            // @todo add classes for parent/child relationships
    11981198
    1199             $css_class = join( ' ', apply_filters('nav_menu_css_class', $css_class, $item) );
     1199            $css_class = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $css_class ), $item ) );
    12001200        }
    12011201
Note: See TracChangeset for help on using the changeset viewer.