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; } /**