From 07567002bbfec94a522149b789a9d2e50830faa7 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 24 Sep 2011 19:52:26 +0000 Subject: [PATCH] Update esc_url() phpdoc. props sirzooro, fixes #18766. git-svn-id: http://svn.automattic.com/wordpress/trunk@18769 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 90d014619..57d39f1bc 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -2271,7 +2271,7 @@ function esc_sql( $sql ) { * * @param string $url The URL to be cleaned. * @param array $protocols Optional. An array of acceptable protocols. - * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet' if not set. + * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' if not set. * @param string $_context Private. Use esc_url_raw() for database usage. * @return string The cleaned $url after the 'clean_url' filter is applied. */