[wp-trac] [WordPress Trac] #28662: $theme_root_uri : double slash

WordPress Trac noreply at wordpress.org
Sat Jun 28 01:50:30 UTC 2014


#28662: $theme_root_uri : double slash
--------------------------+-----------------------------
 Reporter:  tivnet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.9.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I do (as specified [https://github.com/markjaquith/WordPress-
 Skeleton/blob/master/content/mu-plugins/register-theme-directory.php
 here])
 `register_theme_directory( ABSPATH . 'wp-content/themes/' );`,
 all URLs receive extra slash, for instance `.../wp/wp-
 content/themes//twentyfourteen/...`
 Fixing a couple of lines in `theme.php` helped (see the patch). I believe,
 there are more places to patch there - unless there is a better way.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28662>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list