Ticket #45397: 45397.patch
File 45397.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
266 266 * @return string The unmodified content. 267 267 */ 268 268 function _restore_wpautop_hook( $content ) { 269 global $wp_filter; 269 270 270 $current_priority = has_filter( 'the_content', '_restore_wpautop_hook' ); 271 271 272 272 add_filter( 'the_content', 'wpautop', $current_priority - 1 );