Make WordPress Core

Ticket #47826: 47826.diff

File 47826.diff, 1.1 KB (added by atachibana, 7 years ago)
  • comment-template.php

     
    17301730 * @param int         $comment Comment being replied to. Default current comment.
    17311731 * @param int|WP_Post $post    Post ID or WP_Post object the comment is going to be displayed on.
    17321732 *                             Default current post.
    1733  * @return mixed Link to show comment form, if successful. False, if comments are closed.
    17341733 */
    17351734function comment_reply_link( $args = array(), $comment = null, $post = null ) {
    17361735        echo get_comment_reply_link( $args, $comment, $post );
     
    18211820 * @param array       $args Optional. Override default options,
    18221821 * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on.
    18231822 *                          Default current post.
    1824  * @return string|bool|null Link to show comment form, if successful. False, if comments are closed.
    18251823 */
    18261824function post_reply_link( $args = array(), $post = null ) {
    18271825        echo get_post_reply_link( $args, $post );