Formatting: Remove unused global import for `$wp_filter` in `_restore_wpautop_hook()`.
See #45290. git-svn-id: https://develop.svn.wordpress.org/trunk@44431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d8e3c5864
commit
ac7c542477
|
@ -266,7 +266,6 @@ function do_blocks( $content ) {
|
|||
* @return string The unmodified content.
|
||||
*/
|
||||
function _restore_wpautop_hook( $content ) {
|
||||
global $wp_filter;
|
||||
$current_priority = has_filter( 'the_content', '_restore_wpautop_hook' );
|
||||
|
||||
add_filter( 'the_content', 'wpautop', $current_priority - 1 );
|
||||
|
|
Loading…
Reference in New Issue