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:
Dominik Schilling (ocean90) 2019-01-07 16:58:15 +00:00
parent 6d8e3c5864
commit ac7c542477
1 changed files with 0 additions and 1 deletions

View File

@ -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 );