Make WordPress Core

Ticket #18766: formatting.php.diff

File formatting.php.diff, 679 bytes (added by sirzooro, 7 years ago)
  • formatting.php

    old new  
    22352235 *
    22362236 * @param string $url The URL to be cleaned.
    22372237 * @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.
    22392239 * @param string $_context Private. Use esc_url_raw() for database usage.
    22402240 * @return string The cleaned $url after the 'clean_url' filter is applied.
    22412241 */