From 29f50a637acc25862b037e0877bbd1ff7e5653de Mon Sep 17 00:00:00 2001 From: markjaquith Date: Mon, 9 Apr 2012 20:05:47 +0000 Subject: [PATCH] Replace
and
in addition to
in clean_pre(). fixes #20400 git-svn-id: http://svn.automattic.com/wordpress/trunk@20409 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 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);