[wp-trac] [WordPress Trac] #26819: wp_make_link_relative() returns domain name instead of zero length string path when no path present

WordPress Trac noreply at wordpress.org
Fri Jan 17 06:44:33 UTC 2014


#26819: wp_make_link_relative() returns domain name instead of zero length string
path when no path present
----------------------------------------+-----------------------------
 Reporter:  adiant                      |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Formatting                  |     Version:  3.8
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch needs-unit-tests
 * milestone:  Awaiting Review => Future Release


Comment:

 Huh, I never heard of wp_make_link_relative(). Looks like it hasn't been
 used anywhere in core since WordPress 2.5.

 I am fine with fixing this but we will need some
 [http://make.wordpress.org/core/handbook/automated-testing/ unit tests], I
 think.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26819#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list