mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 04:48:25 +01:00
Add file missed in [58475].
git-svn-id: https://develop.svn.wordpress.org/branches/6.4@58482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1b6ce9e00f
commit
3a2acb564f
@ -151,7 +151,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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user