Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-includes/post-template.php

    r11890 r11643  
    342342        $classes = array_merge($classes, $class);
    343343    }
    344 
    345     $classes = array_map('esc_attr', $classes);
    346344
    347345    return apply_filters('post_class', $classes, $class, $post_id);
     
    480478        $classes = array_merge($classes, $class);
    481479    }
    482 
    483     $classes = array_map('esc_attr', $classes);
    484480
    485481    return apply_filters('body_class', $classes, $class);
     
    711707    $pages = get_pages($r);
    712708    $output = '';
    713     $name = esc_attr($name);
    714709
    715710    if ( ! empty($pages) ) {
     
    848843        $menu = '<ul>' . $menu . '</ul>';
    849844
    850     $menu = '<div class="' . esc_attr($args['menu_class']) . '">' . $menu . "</div>\n";
     845    $menu = '<div class="' . $args['menu_class'] . '">' . $menu . "</div>\n";
    851846    $menu = apply_filters( 'wp_page_menu', $menu, $args );
    852847    if ( $args['echo'] )
Note: See TracChangeset for help on using the changeset viewer.