before and after for comment_reply_link(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9093 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7789a4124
commit
0828ea41d8
|
@ -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 = "<a href='#' onclick='moveAddCommentForm(\"$add_below-$comment->comment_ID\", $comment->comment_ID, \"$respond_id\"); return false;'>$reply_text</a>";
|
||||
|
||||
return $link;
|
||||
return $before . $link . $after;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue