From 5d73d82fc262bc9a6db0f88b8c433ef42fb06851 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 9 Apr 2012 20:05:47 +0000 Subject: [PATCH] Replace
and
in addition to
in clean_pre(). fixes #20400 git-svn-id: https://develop.svn.wordpress.org/trunk@20409 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/deprecated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 410a5df70e..9a4ff9181f 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);