Changeset 43016 for trunk/src/wp-includes/functions.php
- Timestamp:
- 04/28/2018 01:57:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r42980 r43016 5366 5366 * @staticvar array $protocols 5367 5367 * 5368 * @return array Array of allowed protocols. Defaults to an array containing 'http', 'https', 5369 * 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 5370 * 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'. 5368 * @return string[] Array of allowed protocols. Defaults to an array containing 'http', 'https', 5369 * 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 5370 * 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', and 'urn'. This covers 5371 * all common link protocols, except for 'javascript' which should not be 5372 * allowed for untrusted users. 5371 5373 */ 5372 5374 function wp_allowed_protocols() {
Note: See TracChangeset
for help on using the changeset viewer.