- Timestamp:
- 01/26/2026 04:10:41 PM (6 months ago)
- Location:
- branches/6.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-block-processor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.9
-
branches/6.9/src/wp-includes/class-wp-block-processor.php
r61296 r61528 1441 1441 } 1442 1442 1443 // This is a core/freeform text block, it’s special. 1444 if ( $this->is_html() && 0 === ( $this->open_blocks_length[0] ?? null ) ) { 1445 return ( 1446 'core/freeform' === $block_type || 1447 'freeform' === $block_type 1448 ); 1443 if ( $this->is_html() ) { 1444 // This is a core/freeform text block, it’s special. 1445 if ( 0 === ( $this->open_blocks_length[0] ?? null ) ) { 1446 return ( 1447 'core/freeform' === $block_type || 1448 'freeform' === $block_type 1449 ); 1450 } 1451 1452 // Otherwise this is innerHTML and not a block. 1453 return false; 1449 1454 } 1450 1455
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)