WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r11890 r11725  
    338338        $classes = array_merge($classes, $class);
    339339    }
    340 
    341     $classes = array_map('esc_attr', $classes);
    342340
    343341    return apply_filters('comment_class', $classes, $class, $comment_id, $post_id);
     
    943941
    944942    if ( 0 == $number && !comments_open() && !pings_open() ) {
    945         echo '<span' . ((!empty($css_class)) ? ' class="' . esc_attr( $css_class ) . '"' : '') . '>' . $none . '</span>';
     943        echo '<span' . ((!empty($css_class)) ? ' class="' . $css_class . '"' : '') . '>' . $none . '</span>';
    946944        return;
    947945    }
     
    975973    echo apply_filters( 'comments_popup_link_attributes', '' );
    976974
    977     echo ' title="' . esc_attr( sprintf( __('Comment on %s'), $title ) ) . '">';
     975    echo ' title="' . sprintf( __('Comment on %s'), $title ) . '">';
    978976    comments_number( $zero, $one, $more, $number );
    979977    echo '</a>';
Note: See TracChangeset for help on using the changeset viewer.