Skip to content

Commit

Permalink
Update to WordPress 6.2.2. For more information, see https://wordpres…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation committed May 20, 2023
1 parent 0cd8ba5 commit 5d3e92f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
26 changes: 26 additions & 0 deletions wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,32 @@
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
1
),
'6.2.2',
'1'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '6.2.2' )
)
);
?>
</p>

<p>
<?php
printf(
Expand Down
2 changes: 2 additions & 0 deletions wp-includes/block-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ function get_the_block_template_html() {

$content = $wp_embed->run_shortcode( $_wp_current_template_content );
$content = $wp_embed->autoembed( $content );
$content = shortcode_unautop( $content );
$content = do_shortcode( $content );
$content = do_blocks( $content );
$content = wptexturize( $content );
$content = convert_smilies( $content );
Expand Down
4 changes: 2 additions & 2 deletions wp-includes/blocks/template-part.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ function render_block_core_template_part( $attributes ) {
}

// Run through the actions that are typically taken on the_content.
$content = shortcode_unautop( $content );
$content = do_shortcode( $content );
$seen_ids[ $template_part_id ] = true;
$content = do_blocks( $content );
unset( $seen_ids[ $template_part_id ] );
$content = wptexturize( $content );
$content = convert_smilies( $content );
$content = shortcode_unautop( $content );
$content = wp_filter_content_tags( $content, "template_part_{$area}" );
$content = do_shortcode( $content );

// Handle embeds for block template parts.
global $wp_embed;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2.1';
$wp_version = '6.2.2';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 5d3e92f

Please sign in to comment.