From c6fa13adc99707e617b610b74ad00b3b01495a02 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 12 Sep 2012 15:47:34 +0000 Subject: [PATCH] Add xmpp to allowed protocols. props ethitter, fixes #21604. git-svn-id: https://develop.svn.wordpress.org/trunk@21826 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 58a7742228..d82bf97164 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3603,7 +3603,7 @@ function wp_allowed_protocols() { static $protocols; if ( empty( $protocols ) ) { - $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax' ); + $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp' ); $protocols = apply_filters( 'kses_allowed_protocols', $protocols ); }