Show
Ignore:
Timestamp:
12/21/06 10:10:04 (2 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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);