Ticket #47826: 47826.diff
| File 47826.diff, 1.1 KB (added by , 7 years ago) |
|---|
-
comment-template.php
1730 1730 * @param int $comment Comment being replied to. Default current comment. 1731 1731 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. 1732 1732 * Default current post. 1733 * @return mixed Link to show comment form, if successful. False, if comments are closed.1734 1733 */ 1735 1734 function comment_reply_link( $args = array(), $comment = null, $post = null ) { 1736 1735 echo get_comment_reply_link( $args, $comment, $post ); … … 1821 1820 * @param array $args Optional. Override default options, 1822 1821 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. 1823 1822 * Default current post. 1824 * @return string|bool|null Link to show comment form, if successful. False, if comments are closed.1825 1823 */ 1826 1824 function post_reply_link( $args = array(), $post = null ) { 1827 1825 echo get_post_reply_link( $args, $post );