From 2186a591498df05ef76f8799d24269465664106f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 24 Dec 2004 21:00:06 +0000 Subject: [PATCH] Fix href quoting. Bug 532. Hat Tip: MooKitty. git-svn-id: https://develop.svn.wordpress.org/trunk@1999 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions-formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index 5ec487dcaa..11f254b275 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -499,7 +499,7 @@ function make_clickable($ret) { // original function: phpBB $ret = ' ' . $ret . ' '; $ret = preg_replace("#(\s)http://([^\s<>{}()]+[^\s.,<>{}()])#i", "$1http://$2", $ret); $ret = preg_replace("#(\s)www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[^ <>{}()\n\r]*[^., <>{}()\n\r]?)?)#i", "$1www.$2.$3$4", $ret); - $ret = preg_replace("#(\s)([a-z0-9\-_.]+)@([^,< \n\r]+)#i", "$1