diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 76f41d8523..495c328b06 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -79,7 +79,7 @@ function wpautop($pee, $br = 1) { $pee = preg_replace('!
\s*(?' . $allblocks . '[^>]*>)!', "$1", $pee); $pee = preg_replace('!(?' . $allblocks . '[^>]*>)\s*
!', "$1", $pee); if ($br) { - $pee = preg_replace('/<(script|style).*?<\/\\1>/se', 'str_replace("\n", "