Ticket #2625: escape_title.diff
| File escape_title.diff, 0.6 kB (added by markjaquith, 2 years ago) |
|---|
-
wp-includes/comment-functions.php
old new 328 328 if (!empty($CSSclass)) { 329 329 echo ' class="'.$CSSclass.'"'; 330 330 } 331 echo ' title="' . sprintf( __('Comment on %s'), $post->post_title ) .'">'; 331 $title = wp_specialchars(apply_filters('the_title', get_the_title())); 332 echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">'; 332 333 comments_number($zero, $one, $more, $number); 333 334 echo '</a>'; 334 335 }
