WordPress.org

Make WordPress Core

Ticket #10997: 10997-2.diff

File 10997-2.diff, 453 bytes (added by xenlab, 8 years ago)

Refreshed the patch against 2.9-beta2 (r12338)

  • wp-includes/comment-template.php

     
    970970        if ( !empty( $css_class ) ) {
    971971                echo ' class="'.$css_class.'" ';
    972972        }
    973         $title = esc_attr( get_the_title() );
     973        $title = the_title_attribute( 'echo=0' );
    974974
    975975        echo apply_filters( 'comments_popup_link_attributes', '' );