Ticket #19354: 19354.2.patch
File 19354.2.patch, 1.1 KB (added by , 12 years ago) |
---|
-
wp-includes/functions.php
/**
4666 4666 static $protocols; 4667 4667 4668 4668 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' ); 4670 4670 $protocols = apply_filters( 'kses_allowed_protocols', $protocols ); 4671 4671 } 4672 4672 -
wp-includes/kses.php
1352 1352 * @since 2.0.0 1353 1353 */ 1354 1354 function kses_init() { 1355 1356 $backtrack_limit = ini_get('pcre.backtrack_limit'); 1357 if ( false === $backtrack_limit || $backtrack_limit < 1000000 ) 1358 ini_set( 'pcre.backtrack_limit', 1000000 ); 1359 1355 1360 kses_remove_filters(); 1356 1361 1357 1362 if (current_user_can('unfiltered_html') == false)