Make WordPress Core

Ticket #19354: 19354.diff

File 19354.diff, 639 bytes (added by solarissmoke, 13 years ago)

Allow data: protocol

  • wp-includes/functions.php

     
    46664666        static $protocols;
    46674667
    46684668        if ( empty( $protocols ) ) {
    4669                 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' );
     4669                $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'data' );
    46704670                $protocols = apply_filters( 'kses_allowed_protocols', $protocols );
    46714671        }
    46724672