Changeset 36512
- Timestamp:
- 02/12/2016 04:09:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r36499 r36512 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' ); … … 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 );
Note: See TracChangeset
for help on using the changeset viewer.