Changeset 55395 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 02/21/2023 03:26:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r55369 r55395 2035 2035 * @since 6.2.0 Added the `$post` parameter. 2036 2036 * 2037 * @global WP_Comment $comment Global comment object. 2038 * 2037 2039 * @param string|false $no_reply_text Optional. Text to display when not replying to a comment. 2038 2040 * Default false. … … 2046 2048 */ 2047 2049 function comment_form_title( $no_reply_text = false, $reply_text = false, $link_to_parent = true, $post = null ) { 2050 global $comment; 2051 2048 2052 if ( false === $no_reply_text ) { 2049 2053 $no_reply_text = __( 'Leave a Reply' ); … … 2067 2071 return; 2068 2072 } 2073 2074 // Sets the global so that template tags can be used in the comment form. 2075 $comment = get_comment( $reply_to_id ); 2069 2076 2070 2077 if ( $link_to_parent ) {
Note: See TracChangeset
for help on using the changeset viewer.