#21081 closed enhancement (fixed)
Whitelist the tel: and fax: URL protocols.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 3.5 |
| Component: | General | Version: | 3.4 |
| Severity: | minor | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
We should support telephone and fax number URLs, by whitelisting their protocols: tel: and fax:
http://www.ietf.org/rfc/rfc2806.txt
e.g.
tel:2025551234
Attachments (2)
Change History (9)
markjaquith — 11 months ago
comment:1
markjaquith — 11 months ago
- Keywords has-patch 2nd-opinion added; needs-patch removed
- Owner set to markjaquith
- Status changed from new to accepted
comment:3
follow-up:
↓ 7
markjaquith — 11 months ago
We added a filter. Doesn't mean we shouldn't add some more defaults. Telephone links are particularly handy for local businesses creating mobile sites.
markjaquith — 11 months ago
comment:5
markjaquith — 11 months ago
.2 patch makes the edit_user() call use wp_allowed_protocols(), so there are no other places to keep having to update this protocol list.
comment:6
markjaquith — 11 months ago
- Resolution set to fixed
- Status changed from accepted to closed
In [21170]:
Replying to markjaquith:
We added a filter. Doesn't mean we shouldn't add some more defaults. Telephone links are particularly handy for local businesses creating mobile sites.
Yeah, of course. I just saw the changed line in wp-admin/includes/user.php which doesn't used wp_allowed_protocols. But now it does and I'm happy.

I thought we had added the filter for adding more protocols, see #18268.