[wp-trac] [WordPress Trac] #28662: $theme_root_uri : double slash
WordPress Trac
noreply at wordpress.org
Sat Jul 19 23:06:56 UTC 2014
#28662: $theme_root_uri : double slash
--------------------------+-----------------------------
Reporter: tivnet | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Themes | Version: 2.9
Severity: trivial | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29249"]:
{{{
#!CommitTicketReference repository="" revision="29249"
Call `untrailingslashit()` when adding a theme directory in
`register_theme_directory()`. This prevents double-slashing in generated
URLs. Don't add a directory if it is already present.
Adds unit tests.
Props obenland, wonderboymusic.
Fixes #28662.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28662#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list