Changeset 53378 for trunk/src/wp-includes/blocks/comments-title.php
- Timestamp:
- 05/10/2022 03:55:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/comments-title.php
r53377 r53378 24 24 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); 25 25 $comments_count = get_comments_number(); 26 $post_title = '“' . get_the_title() . '”'; 27 $tag_name = 'h2'; 26 /* translators: %s: Post title. */ 27 $post_title = sprintf( __( '“%s”' ), get_the_title() ); 28 $tag_name = 'h2'; 28 29 if ( isset( $attributes['level'] ) ) { 29 30 $tag_name = 'h' . $attributes['level'];
Note: See TracChangeset
for help on using the changeset viewer.