Changes between Initial Version and Version 1 of Ticket #54910, comment 23
- Timestamp:
- 01/28/2022 05:40:11 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54910, comment 23
initial v1 1 1 @costdev 2 2 3 Maybe we should `false !== strpos( (string) $post, '<!-- wp:' )` instead of parsing the blocks. This method should be a little bit faster.3 Maybe we should `false !== strpos( $content, '<!-- wp:' )` instead of parsing the blocks. This method should be a little bit faster. 4 4 5 5 It's similar to what `has_blocks` uses under the hood - https://developer.wordpress.org/reference/functions/has_blocks/.