Changeset 44242 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 12/16/2018 10:54:46 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43883
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/blocks.php
r44226 r44242 223 223 function _restore_wpautop_hook( $content ) { 224 224 global $wp_filter; 225 $current_priority = $wp_filter['the_content']->current_priority();225 $current_priority = has_filter( 'the_content', '_restore_wpautop_hook' ); 226 226 227 227 add_filter( 'the_content', 'wpautop', $current_priority - 1 );
Note: See TracChangeset
for help on using the changeset viewer.