Make WordPress Core


Ignore:
Timestamp:
05/05/2015 12:37:14 AM (10 years ago)
Author:
boonebgorges
Message:

Add 'webcal' to the list of URI protocols whitelisted by default.

Fixes #31666.

File:
1 edited

Legend:

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

    r32325 r32346  
    44394439 *
    44404440 * @since 3.3.0
     4441 * @since 4.3.0 Added 'webcal' to the protocols array.
    44414442 *
    44424443 * @see wp_kses()
     
    44494450
    44504451    if ( empty( $protocols ) ) {
    4451         $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp' );
     4452        $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' );
    44524453
    44534454        /**
Note: See TracChangeset for help on using the changeset viewer.