[wp-trac] [WordPress Trac] #30373: wp_make_link_relative() isn't handling already relative urls
WordPress Trac
noreply at wordpress.org
Wed Nov 19 00:51:48 UTC 2014
#30373: wp_make_link_relative() isn't handling already relative urls
--------------------------+------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by dd32):
Just curious why the regex was changed from `//` to `\/\/`? Other than
looking more like a W, `/` isn't a special character in regex (As long as
it's not also the delimiter, which in this case is `|`)
Other than that, looks good to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30373#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list