From 637ca2300ca5ffee3780633a7bf9c525da4d7c87 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 31 Dec 2009 07:42:36 -0800 Subject: [PATCH] get_comment_reply_link was improperly placed in the displaypost.php file so it was giving the wrong comments button. There isn't a return get_comments_popup_link so removed the apply_filters for a lost cause. Signed-off-by: Philip M. Hofer (Frumph) --- functions/displaypost.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/functions/displaypost.php b/functions/displaypost.php index a96f03b..31354ee 100644 --- a/functions/displaypost.php +++ b/functions/displaypost.php @@ -69,10 +69,12 @@ function comicpress_display_post_tags() { function comicpress_display_comment_link() { global $post, $wp_query; - if ('open' == $post->comment_status && !is_page()) { - if (comicpress_check_child_file('partials/commentlink') == false && !is_single()) { - $post_comment_link = "
".get_comment_reply_link('  '.__('Comment ','comicpress'), '1 '.__('Comment ','comicpress'), '% '.__('Comments ','comicpress'))."
\r\n"; - apply_filters('comicpress_display_comment_link',$post_comment_link); + if ('open' == $post->comment_status && !is_singular()) { + if (comicpress_check_child_file('partials/commentlink') == false) { ?> + +