Make WordPress Core


Ignore:
Timestamp:
04/28/2018 01:57:32 PM (6 years ago)
Author:
johnbillion
Message:

Formatting: Begin the process of improving the docs for KSES related functions.

See #33801

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r42980 r43016  
    53665366 * @staticvar array $protocols
    53675367 *
    5368  * @return array Array of allowed protocols. Defaults to an array containing 'http', 'https',
    5369  *               'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet',
    5370  *               'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'.
     5368 * @return string[] Array of allowed protocols. Defaults to an array containing 'http', 'https',
     5369 *                  'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet',
     5370 *                  'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'. This covers
     5371 *                  all common link protocols, except for 'javascript' which should not be
     5372 *                  allowed for untrusted users.
    53715373 */
    53725374function wp_allowed_protocols() {
Note: See TracChangeset for help on using the changeset viewer.