From a09cff539963684a4c62177837bf5ee93c75c53e Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 7 Oct 2008 18:03:43 +0000 Subject: [PATCH] before and after for comment_reply_link(). see #7635 git-svn-id: http://svn.automattic.com/wordpress/trunk@9093 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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; } /**