Changeset 56021 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 06/25/2023 10:48:28 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r56005 r56021 804 804 $result = ''; 805 805 806 if ( false !== strpos( $text, '<!--' ) && false !== strpos( $text, '--->' ) ) {806 if ( str_contains( $text, '<!--' ) && str_contains( $text, '--->' ) ) { 807 807 $text = preg_replace_callback( '%<!--(.*?)--->%', '_filter_block_content_callback', $text ); 808 808 }
Note: See TracChangeset
for help on using the changeset viewer.