Changeset 41990 for trunk/src/wp-includes/functions.php
- Timestamp:
- 10/24/2017 01:24:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r41983 r41990 5078 5078 if ( empty( $protocols ) ) { 5079 5079 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', 'urn' ); 5080 5080 } 5081 5082 if ( ! did_action( 'wp_loaded' ) ) { 5081 5083 /** 5082 5084 * Filters the list of protocols allowed in HTML attributes. … … 5086 5088 * @param array $protocols Array of allowed protocols e.g. 'http', 'ftp', 'tel', and more. 5087 5089 */ 5088 $protocols = a pply_filters( 'kses_allowed_protocols', $protocols);5090 $protocols = array_unique( (array) apply_filters( 'kses_allowed_protocols', $protocols ) ); 5089 5091 } 5090 5092
Note: See TracChangeset
for help on using the changeset viewer.