Changeset 18826 for trunk/wp-includes/formatting.php
- Timestamp:
- 09/29/2011 10:33:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r18824 r18826 2300 2300 } 2301 2301 2302 if ( ! is_array($protocols) )2303 $protocols = array ('http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn');2302 if ( ! is_array( $protocols ) ) 2303 $protocols = wp_allowed_protocols(); 2304 2304 if ( wp_kses_bad_protocol( $url, $protocols ) != $url ) 2305 2305 return '';
Note: See TracChangeset
for help on using the changeset viewer.