[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
Fri Aug 22 16:41:22 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 needs-testing | Focuses:
needs-refresh 2nd-opinion |
-------------------------------------------------+-------------------------
Changes (by mindctrl):
* keywords: needs-unit-tests dev-feedback needs-testing => needs-unit-
tests needs-testing needs-refresh 2nd-opinion
Comment:
The block editor makes it easy to make links out of telephone numbers and
emails: select the text you want linked, click the Link icon in the
toolbar, and it does it automatically without you having to prepend
`mailto` or `tel`.
The question is should `make_clickable()` link these things when used
programmatically. If I were using it personally, I would like it to do
that, otherwise it feels like it doesn't live up to its name. Requesting a
second opinion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26868#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list