From f2cbb565e4dbe07836f67648333d4dfeae220e39 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Mon, 24 Jun 2024 18:38:18 +0000 Subject: [PATCH] Update packages to include latest changes. Props desrosj. Built from https://develop.svn.wordpress.org/trunk@58553 git-svn-id: http://core.svn.wordpress.org/trunk@58001 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/template-part.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/blocks/template-part.php b/wp-includes/blocks/template-part.php index b9cae2d48e..be867c4ced 100644 --- a/wp-includes/blocks/template-part.php +++ b/wp-includes/blocks/template-part.php @@ -161,7 +161,7 @@ function render_block_core_template_part( $attributes ) { global $wp_embed; $content = $wp_embed->autoembed( $content ); - if ( empty( $attributes['tagName'] ) ) { + if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) { $area_tag = 'div'; if ( $area_definition && isset( $area_definition['area_tag'] ) ) { $area_tag = $area_definition['area_tag']; diff --git a/wp-includes/version.php b/wp-includes/version.php index 1f5d4d9b65..69e1c77680 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta3-58478'; +$wp_version = '6.6-beta3-58553'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.