diff --git a/functions.php b/functions.php index 90e23d897..50c6f27fb 100644 --- a/functions.php +++ b/functions.php @@ -3669,7 +3669,8 @@ $res = preg_replace('/]+>/is', '', $res); } - $res = rewrite_urls($res); + if (strpos($res, "href=") === false) + $res = rewrite_urls($res); $charset_hack = '