Make WordPress Core

Ticket #10569: 10569.2.diff

File 10569.2.diff, 941 bytes (added by DrewAPicture, 10 years ago)

docs tweaks

  • src/wp-includes/comment-template.php

     
    13391339                return false;
    13401340        }
    13411341
     1342        /**
     1343         * Filter the text for the reply-to comment link.
     1344         *
     1345         * @since 4.1.0
     1346         *
     1347         * @param array   $args    Comment reply link arguments. See {@see get_comment_reply_link()}
     1348         *                         for more information on accepted arguments.
     1349         * @param object  $comment The object of the comment being replied-to.
     1350         * @param WP_Post $post    The WP_Post object.
     1351         */
     1352        $args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
     1353
    13421354        if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
    13431355                $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
    13441356                        esc_url( wp_login_url( get_permalink() ) ),