From 340228e4ada351312a6fcfa1523d8623c961921e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 10 Dec 2007 06:53:58 +0000 Subject: [PATCH] comments_popup_link filter from joostdevalk. fixes #5247 git-svn-id: https://develop.svn.wordpress.org/trunk@6368 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index c4aed30f03..e5a42c1711 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -338,29 +338,30 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com } } - echo ''; + $comments_popup_link .= ' title="' . sprintf( __('Comment on %s'), $title ) .'">'; comments_number($zero, $one, $more, $number); - echo ''; + $comments_popup_link .= ''; + echo apply_filters('comments_popup_link', $comments_popup_link); } ?>