Make WordPress Core

Changeset 12362


Ignore:
Timestamp:
12/10/2009 09:13:11 AM (14 years ago)
Author:
markjaquith
Message:

Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997

File:
1 edited

Legend:

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

    r12045 r12362  
    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', '' );
Note: See TracChangeset for help on using the changeset viewer.