Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (19 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

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

    r4568 r4656  
    354354        echo ' class="'.$CSSclass.'"';
    355355    }
    356     $title = wp_specialchars(apply_filters('the_title', get_the_title()), true);
     356    $title = attribute_escape(apply_filters('the_title', get_the_title()));
    357357    echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';
    358358    comments_number($zero, $one, $more, $number);
Note: See TracChangeset for help on using the changeset viewer.