Make WordPress Core


Ignore:
Timestamp:
05/10/2022 03:55:57 PM (3 years ago)
Author:
gziolo
Message:

Editor: Update WordPress packages for 6.0 RC 2 (part 2)

Includes cherry-picked commit from the Gutenberg plugin that fix a bug discovere just before WordPress 6.0 RC 2.

Props hellofromtonya, zieladam, kebbet.
See #55567.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/comments-title.php

    r53377 r53378  
    2424    $wrapper_attributes  = get_block_wrapper_attributes( array( 'class' => $align_class_name ) );
    2525    $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';
    2829    if ( isset( $attributes['level'] ) ) {
    2930        $tag_name = 'h' . $attributes['level'];
Note: See TracChangeset for help on using the changeset viewer.