diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php
index 410a5df70..9a4ff9181 100644
--- a/wp-includes/deprecated.php
+++ b/wp-includes/deprecated.php
@@ -3002,7 +3002,7 @@ function clean_pre($matches) {
else
$text = $matches;
- $text = str_replace('
', '', $text);
+ $text = str_replace(array('
', '
', '
'), array('', '', ''), $text);
$text = str_replace('
', "\n", $text); $text = str_replace('
', '', $text);