Make WordPress Core

Changeset 21826


Ignore:
Timestamp:
09/12/2012 03:47:34 PM (12 years ago)
Author:
nacin
Message:

Add xmpp to allowed protocols. props ethitter, fixes #21604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r21825 r21826  
    36043604
    36053605    if ( empty( $protocols ) ) {
    3606         $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax' );
     3606        $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp' );
    36073607        $protocols = apply_filters( 'kses_allowed_protocols', $protocols );
    36083608    }
Note: See TracChangeset for help on using the changeset viewer.