admin管理员组文章数量:1122846
The make_clickable
function will convert a text URL into a clickable HREF. This works well, even with text URLs that contain a space.
But consider this URL when typed into a post or comment box:
(2).jpg
That URL will 'break' (when converted to an HREF by make_clickable
) because of the closing parenthesis character just before the 'dot', turning the clickable part of the URL into
(2
with the '.jpg' shown as text.
Is this fixable? (and 'duplicateable')? (Tested with WP 6.6.1 on PHP 8.1.28 )
本文标签: url rewritingmakeclickable and parenthesis breaks the URL
版权声明:本文标题:url rewriting - make_clickable and parenthesis breaks the URL 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736294333a1929335.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论