[wp-trac] [WordPress Trac] #30373: wp_make_link_relative() isn't handling already relative urls
WordPress Trac
noreply at wordpress.org
Wed Nov 19 01:53:00 UTC 2014
#30373: wp_make_link_relative() isn't handling already relative urls
--------------------------+---------------------------
Reporter: dd32 | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"30383"]:
{{{
#!CommitTicketReference repository="" revision="30383"
Improvements to `wp_make_link_relative()`.
* Support relative URL input.
* When the URL being made relative has another URL as a parameter, don't
make the second URL relative.
Props voldemortensen.
Fixes #30373.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30373#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list