'Before' and 'After' in get_comment_reply_link not working
|Reported by:||stereoactivo||Owned by:|
Hi, I was using get_comment_reply_link, but 'before' and 'after' parameters aren't working.
I'm using this:
comment_reply_link (array_merge ($args, array ( 'before ' => '<button class="responder">', 'after' => '</button>', 'reply_text' => __ ('reply', mytheme), )));
The output generated by wordpress doesn't include the strings that I used. I think that is caused by this line:
/*comment-template.php, line 1341 */ return apply_filters( 'comment_reply_link', $before . $link . $after, $args, $comment, $post );.
$before and $after aren't defined, and the values received in $args are never used.