1 | Index: wp-includes/comment-template.php |
---|
2 | =================================================================== |
---|
3 | --- wp-includes/comment-template.php (revision 6369) |
---|
4 | +++ wp-includes/comment-template.php (working copy) |
---|
5 | @@ -169,7 +169,7 @@ |
---|
6 | else // must be one |
---|
7 | $output = ( false === $one ) ? __('1 Comment') : $one; |
---|
8 | |
---|
9 | - echo apply_filters('comments_number', $output, $number); |
---|
10 | + return apply_filters('comments_number', $output, $number); |
---|
11 | } |
---|
12 | |
---|
13 | function get_comment_text() { |
---|
14 | @@ -350,7 +350,7 @@ |
---|
15 | if ( 0 == $number ) |
---|
16 | $comments_popup_link .= get_permalink() . '#respond'; |
---|
17 | else |
---|
18 | - $comments_popup_link .= comments_link(); |
---|
19 | + $comments_popup_link .= get_comments_link(); |
---|
20 | $comments_popup_link .= '"'; |
---|
21 | } |
---|
22 | |
---|
23 | @@ -359,7 +359,7 @@ |
---|
24 | } |
---|
25 | $title = attribute_escape(get_the_title()); |
---|
26 | $comments_popup_link .= ' title="' . sprintf( __('Comment on %s'), $title ) .'">'; |
---|
27 | - comments_number($zero, $one, $more, $number); |
---|
28 | + $comments_popup_link .= comments_number($zero, $one, $more, $number); |
---|
29 | $comments_popup_link .= '</a>'; |
---|
30 | echo apply_filters('comments_popup_link', $comments_popup_link); |
---|
31 | } |
---|