Make WordPress Core

Changeset 18769


Ignore:
Timestamp:
09/24/2011 07:52:26 PM (13 years ago)
Author:
nacin
Message:

Update esc_url() phpdoc. props sirzooro, fixes #18766.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r18742 r18769  
    22722272 * @param string $url The URL to be cleaned.
    22732273 * @param array $protocols Optional. An array of acceptable protocols.
    2274  *      Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet' if not set.
     2274 *      Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' if not set.
    22752275 * @param string $_context Private. Use esc_url_raw() for database usage.
    22762276 * @return string The cleaned $url after the 'clean_url' filter is applied.
Note: See TracChangeset for help on using the changeset viewer.