Document the default list of allowed protocols in the doc block for wp_allowed_protocols() and cross-reference in esc_url() and the kses_allowed_protocols filter.

Props GunGeekATX.
Fixes #32421.


git-svn-id: https://develop.svn.wordpress.org/trunk@32797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-06-16 19:44:39 +00:00
parent b9b36d1c57
commit a4765f9e1b
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -4506,6 +4506,7 @@ function send_frame_options_header() {
* @staticvar array $protocols
*
* @return array Array of allowed protocols.
* Defaults to 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal'
*/
function wp_allowed_protocols() {
static $protocols = array();