From 8c7b2b8e4f34d87d1489295ab5dd63b5f3bfa4e7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 May 2007 08:13:11 +0100 Subject: [PATCH] cleanup sanitize_rss() --- functions.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/functions.php b/functions.php index 5e43a567..9bd79629 100644 --- a/functions.php +++ b/functions.php @@ -2608,17 +2608,6 @@ function sanitize_rss($link, $str) { $res = $str; -/* $res = preg_replace('//i', - "

Disabled script: ", $res); - - $res = preg_replace('/<\/script.*?>/i', "

", $res); */ - -/* $res = preg_replace('//i', "", $res); - - $res = preg_replace('/.*?<\/object>/i', - "

(Disabled html object - - flash or other embedded content)

", $res); */ - if (get_pref($link, "STRIP_UNSAFE_TAGS")) { $res = strip_tags($res, "


"); } -- 2.39.5