Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(revision 19539)
+++ wp-includes/functions.php	(working copy)
@@ -4665,10 +4665,10 @@
 function wp_allowed_protocols() {
 	static $protocols;
 
-	if ( empty( $protocols ) ) {
+	if ( empty( $protocols ) )
 		$protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn' );
-		$protocols = apply_filters( 'kses_allowed_protocols', $protocols );
-	}
+	
+	$protocols = apply_filters( 'kses_allowed_protocols', $protocols );
 
 	return $protocols;
 }
Index: wp-includes/formatting.php
===================================================================
--- wp-includes/formatting.php	(revision 19539)
+++ wp-includes/formatting.php	(working copy)
@@ -2339,7 +2339,7 @@
 	if ( ! is_array( $protocols ) )
 		$protocols = wp_allowed_protocols();
 	if ( wp_kses_bad_protocol( $url, $protocols ) != $url )
-		return '';
+		$url = '';
 
 	return apply_filters('clean_url', $url, $original_url, $_context);
 }
