summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/comment-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-16 12:00:59 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-16 12:00:59 +0000
commit5c7038928d16e2f54188ee0a56eec6eb4a4b409f (patch)
tree0af0791a983a479684cf87a77f75abc8478e71dd /wp-inst/wp-includes/comment-template.php
parent2db2412d55f6f3c2339d44ae7a006d85b0232e6c (diff)
downloadwordpress-mu-5c7038928d16e2f54188ee0a56eec6eb4a4b409f.tar.gz
wordpress-mu-5c7038928d16e2f54188ee0a56eec6eb4a4b409f.tar.xz
wordpress-mu-5c7038928d16e2f54188ee0a56eec6eb4a4b409f.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@565 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/comment-template.php')
-rw-r--r--wp-inst/wp-includes/comment-template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/comment-template.php b/wp-inst/wp-includes/comment-template.php
index 1ed1dd6..6355a96 100644
--- a/wp-inst/wp-includes/comment-template.php
+++ b/wp-inst/wp-includes/comment-template.php
@@ -366,7 +366,8 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com
if (!empty($CSSclass)) {
echo ' class="'.$CSSclass.'"';
}
- echo ' title="' . sprintf( __('Comment on %s'), $post->post_title ) .'">';
+ $title = wp_specialchars(apply_filters('the_title', get_the_title()));
+ echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';
comments_number($zero, $one, $more, $number);
echo '</a>';
}