[wp-trac] [WordPress Trac] #4116: wp_texturize to defect certain links in comments and on page
WordPress Trac
noreply at wordpress.org
Thu Feb 2 13:17:00 UTC 2023
#4116: wp_texturize to defect certain links in comments and on page
-------------------------------------------------+-------------------------
Reporter: h4x3d | Owner: Nazgul
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Formatting | Version: 2.2.1
Severity: normal | Resolution:
Keywords: needs-patch has-unit-tests | Focuses:
wptexturize bulk-reopened |
-------------------------------------------------+-------------------------
Comment (by Mte90):
Tested now and the problem doesn't exists.
Tested in a post content and in a comment with `http://xyz-300×200.jpg`.
The HTML generated in comment is `<p><a href="http://xyz-
300x200.jpg">http://xyz-300×200.jpg</a></p>`, so just sanitize the
content but not the URL.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4116#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list