Make WordPress Core

Ticket #10569: 10569.diff

File 10569.diff, 846 bytes (added by aaroncampbell, 10 years ago)
  • 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    An array of arguments overriding the defaults.
     1348         * @param object  $comment The object of the comment being replied.
     1349         * @param WP_Post $post    The WP_Post object.
     1350         */
     1351        $args = apply_filters( 'comment_reply_link_args', $args, $comment, $post );
     1352
    13421353        if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) {
    13431354                $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>',
    13441355                        esc_url( wp_login_url( get_permalink() ) ),