diff --git src/wp-includes/comment-template.php src/wp-includes/comment-template.php
index a1093b7..75cd717 100644
|
|
|
function comment_id_fields( $id = 0 ) { |
| 1817 | 1817 | * to their comment. Default true. |
| 1818 | 1818 | */ |
| 1819 | 1819 | function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) { |
| 1820 | | $comment = get_comment(); |
| | 1820 | global $comment; |
| 1821 | 1821 | |
| 1822 | 1822 | if ( false === $noreplytext ) $noreplytext = __( 'Leave a Reply' ); |
| 1823 | 1823 | if ( false === $replytext ) $replytext = __( 'Leave a Reply to %s' ); |
| … |
… |
function comment_form_title( $noreplytext = false, $replytext = false, $linktopa |
| 1827 | 1827 | if ( 0 == $replytoid ) |
| 1828 | 1828 | echo $noreplytext; |
| 1829 | 1829 | else { |
| | 1830 | // Sets the global so that template tags can be used in the comment form. |
| 1830 | 1831 | $comment = get_comment($replytoid); |
| 1831 | 1832 | $author = ( $linktoparent ) ? '<a href="#comment-' . get_comment_ID() . '">' . get_comment_author( $comment ) . '</a>' : get_comment_author( $comment ); |
| 1832 | 1833 | printf( $replytext, $author ); |