From 0828ea41d8c3ca3bd1062497f10714fceccff028 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 7 Oct 2008 18:03:43 +0000 Subject: [PATCH] before and after for comment_reply_link(). see #7635 git-svn-id: https://develop.svn.wordpress.org/trunk@9093 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index db5356dece..8c3646962b 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -890,7 +890,7 @@ function comment_reply_link($args = array(), $comment = null, $post = null) { global $user_ID; $defaults = array('add_below' => 'comment', 'respond_id' => 'respond', 'reply_text' => __('Reply'), - 'login_text' => __('Log in to Reply'), 'depth' => 0); + 'login_text' => __('Log in to Reply'), 'depth' => 0, 'before' => '', 'after' => ''); $args = wp_parse_args($args, $defaults); @@ -912,7 +912,7 @@ function comment_reply_link($args = array(), $comment = null, $post = null) { else $link = "$reply_text"; - return $link; + return $before . $link . $after; } /**