- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r55681 r55703 657 657 if ( $blocks ) { 658 658 foreach ( $strings as $key => $string ) { 659 if ( 0 === strpos( $string, '<p>' ) ) {659 if ( str_starts_with( $string, '<p>' ) ) { 660 660 $strings[ $key ] = '<!-- wp:paragraph -->' . $string . '<!-- /wp:paragraph -->'; 661 661 } 662 662 663 if ( 0 === strpos( $string, '<h2>' ) ) {663 if ( str_starts_with( $string, '<h2>' ) ) { 664 664 $strings[ $key ] = '<!-- wp:heading -->' . $string . '<!-- /wp:heading -->'; 665 665 }
Note: See TracChangeset
for help on using the changeset viewer.