Ticket #10569: 10569.diff
File 10569.diff, 846 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 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 1342 1353 if ( get_option( 'comment_registration' ) && ! is_user_logged_in() ) { 1343 1354 $link = sprintf( '<a rel="nofollow" class="comment-reply-login" href="%s">%s</a>', 1344 1355 esc_url( wp_login_url( get_permalink() ) ),