Add tel, sms, callto and fax protocols to esc_url() and make the array filterable
|Reported by:||sanchothefat||Owned by:|
There are loads of protocols that people may need to support.
Currently esc_url() obliterates urls that don't match the allowed list _before_ it reaches the 'clean_url' filter.
This means I can't put tel: or callto: links in a menu via the admin.
The attached patch adds in some more useful protocols and makes the array filterable to cover all the protocols listed on http://en.wikipedia.org/wiki/URI_scheme