From 492a5d031cb0ce7490017e1ae31d8ca442cbb0b1 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 24 Sep 2011 19:52:26 +0000 Subject: [PATCH] Update esc_url() phpdoc. props sirzooro, fixes #18766. git-svn-id: https://develop.svn.wordpress.org/trunk@18769 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 90d0146197..57d39f1bc8 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. */