Ticket #45342: 45342.patch
File 45342.patch, 503 bytes (added by , 6 years ago) |
---|
-
wordpress/wp-includes/blocks.php
diff -Naur wordpress/wp-includes/blocks.php wordpress/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 0 if the string doesn't contain blocks, 1 otherwise. 287 287 */ 288 288 function block_version( $content ) { 289 289 return has_blocks( $content ) ? 1 : 0;