[wp-trac] [WordPress Trac] #26868: Function 'make_clickable()' doesn't make hyperlinks from explicit URLs using the `mailto:`, `tel:` and other schemes that do not start with `//`
WordPress Trac
noreply at wordpress.org
Tue Jul 15 09:21:36 UTC 2025
#26868: Function 'make_clickable()' doesn't make hyperlinks from explicit URLs
using the `mailto:`, `tel:` and other schemes that do not start with `//`
-------------------------------------------------+-------------------------
Reporter: mdgl | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Formatting | Version: 3.8
Severity: normal | Resolution:
Keywords: needs-unit-tests dev-feedback | Focuses:
needs-testing |
-------------------------------------------------+-------------------------
Comment (by callumbw95):
Hey All,
Just taking a look into this now and can confirm the issue around phone
numbers not converting to hyperlinks is still present, as well as emails
that start with `mailto:`. I think the email one is less of an issue, as
passing in any email will have it automatically converted to a hyperlink
and I am not sure how often people will be placing a leading `mailto:`
into their copy.
However, going back to the issue around phone numbers, I am not sure how
easy this issue will be to fix, but also I am not sure if it needs to be?
For example if someone was to use a large number in their copy to show off
a particular statistic, etc. then having this auto convert to a link
without any control over this would be at the detriment of the post
content. I personally think this is fine as is, and has been long standing
enough within WP that it might be more frustrating to the end users
implementing a change to this now at this stage.
But I am keen to get more input here from others in the community, as I
think we can ultimately just close this ticket, but others may disagree
and before doing so it would be good to hear back. 😃
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26868#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list