Make WordPress Core

Ticket #31666: 31666.diff

File 31666.diff, 685 bytes (added by boonebgorges, 9 years ago)
  • src/wp-includes/functions.php

    diff --git src/wp-includes/functions.php src/wp-includes/functions.php
    index 9c24d0b..26390f0 100644
    function wp_allowed_protocols() { 
    44394439        static $protocols;
    44404440
    44414441        if ( empty( $protocols ) ) {
    4442                 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp' );
     4442                $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' );
    44434443
    44444444                /**
    44454445                 * Filter the list of protocols allowed in HTML attributes.