[wp-trac] [WordPress Trac] #62037: make_clickable doesn't handle closing parenthesis character just before the 'dot' on a file URL.
WordPress Trac
noreply at wordpress.org
Mon Sep 30 23:27:49 UTC 2024
#62037: make_clickable doesn't handle closing parenthesis character just before the
'dot' on a file URL.
-------------------------------------------------+-------------------------
Reporter: rhellewell@… | Owner:
| hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Formatting | Version:
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch has- | Focuses:
testing-info needs-testing |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59143" 59143]:
{{{
#!CommitTicketReference repository="" revision="59143"
Formatting: Improve parenthesis handling in `make_clickable()`.
Improve the regular expression for making links clickable to account for
parenthesis in links containing an extension, for example:
`http://wordpress.org/my-image(2).jpg`.
Props coquardcyr, hellofromtonya, parthvataliya, rhellewellgmailcom.
Fixes #62037.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62037#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list