Ticket #10569: 10569.2.diff
File 10569.2.diff, 941 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/comment-template.php
1339 1339 return false; 1340 1340 } 1341 1341 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 1342 1354 if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) { 1343 1355 $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>', 1344 1356 esc_url( wp_login_url( get_permalink() ) ),