Changeset 32797
- Timestamp:
- 06/16/2015 07:44:39 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r32791 r32797 3127 3127 * @param string $url The URL to be cleaned. 3128 3128 * @param array $protocols Optional. An array of acceptable protocols. 3129 * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 3130 * 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 3131 * 'rtsp', 'svn' if not set. 3129 * Defaults to return value of wp_allowed_protocols() 3132 3130 * @param string $_context Private. Use esc_url_raw() for database usage. 3133 3131 * @return string The cleaned $url after the 'clean_url' filter is applied. -
trunk/src/wp-includes/functions.php
r32775 r32797 4507 4507 * 4508 4508 * @return array Array of allowed protocols. 4509 * Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' 4509 4510 */ 4510 4511 function wp_allowed_protocols() {
Note: See TracChangeset
for help on using the changeset viewer.