Make WordPress Core

Changeset 58482


Ignore:
Timestamp:
06/24/2024 03:21:14 PM (20 months ago)
Author:
jorbin
Message:

Add file missed in [58475].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4/src/wp-includes/blocks/template-part.php

    r56849 r58482  
    152152    $content = $wp_embed->autoembed( $content );
    153153
    154     if ( empty( $attributes['tagName'] ) ) {
     154    if ( empty( $attributes['tagName'] ) || tag_escape( $attributes['tagName'] ) !== $attributes['tagName'] ) {
    155155        $area_tag = 'div';
    156156        if ( $area_definition && isset( $area_definition['area_tag'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.