Ticket #45342: 45342.2.patch
File 45342.2.patch, 515 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/blocks.php
283 283 * @since 5.0.0 284 284 * 285 285 * @param string $content Content to test. 286 * @return int The block format version .286 * @return int The block format version is 1 if the content contains one or more blocks, 0 otherwise. 287 287 */ 288 288 function block_version( $content ) { 289 289 return has_blocks( $content ) ? 1 : 0;