Ticket #36033: 36033.patch
File 36033.patch, 574 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/functions.php
4821 4821 function wp_allowed_protocols() { 4822 4822 static $protocols = array(); 4823 4823 4824 if ( empty( $protocols ) ) {4824 if ( empty( $protocols ) || ! did_action( 'wp_loaded' ) ) { 4825 4825 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' ); 4826 4826 4827 4827 /**