[wp-trac] [WordPress Trac] #15619: General Settings Tab Not Allowing trailing URL slash to be stored in Site & WordPress address (URL)

WordPress Trac noreply at wordpress.org
Tue Oct 13 13:17:07 UTC 2015


#15619: General Settings Tab Not Allowing trailing URL slash to be stored in Site &
WordPress address (URL)
--------------------------+-----------------------------
 Reporter:  dsquared      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  3.0.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+-----------------------------

Comment (by johnbillion):

 If `home_url()` switches to returning a user-trailing-slashed URL, it'll
 break plugins and themes that are concatenating a path onto the end, eg.

 `home_url() . '/path'`

 instead of

 `home_url( '/path' )`

 Also it'll need to correctly handle sites that don't use a trailing slash
 on the end of the permastructure, as this affects all rewrite rules, not
 just permalinks.

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


More information about the wp-trac mailing list