Ticket #18766: formatting.php.diff
| File formatting.php.diff, 679 bytes (added by sirzooro, 21 months ago) |
|---|
-
formatting.php
old new 2235 2235 * 2236 2236 * @param string $url The URL to be cleaned. 2237 2237 * @param array $protocols Optional. An array of acceptable protocols. 2238 * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet' if not set.2238 * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' if not set. 2239 2239 * @param string $_context Private. Use esc_url_raw() for database usage. 2240 2240 * @return string The cleaned $url after the 'clean_url' filter is applied. 2241 2241 */