Make WordPress Core


Ignore:
Timestamp:
06/16/2015 07:44:39 PM (9 years ago)
Author:
wonderboymusic
Message:

Document the default list of allowed protocols in the doc block for wp_allowed_protocols() and cross-reference in esc_url() and the kses_allowed_protocols filter.

Props GunGeekATX.
Fixes #32421.

File:
1 edited

Legend:

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

    r32775 r32797  
    45074507 *
    45084508 * @return array Array of allowed protocols.
     4509 *               Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal'
    45094510 */
    45104511function wp_allowed_protocols() {
Note: See TracChangeset for help on using the changeset viewer.