From ac7c542477f0fd32788a0e6101b585f1aa2195a4 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Mon, 7 Jan 2019 16:58:15 +0000 Subject: [PATCH] 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 --- src/wp-includes/blocks.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index fe1cb685ee..ee66f0aa6c 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -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 );