mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Add xmpp to allowed protocols. props ethitter, fixes #21604.
git-svn-id: http://core.svn.wordpress.org/trunk@21826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f6fe3c4ff
commit
e4c21210aa
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user