[wp-trac] [WordPress Trac] #17597: register theme directory() not working for themes outside WP_CONTENT_DIR

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 28 18:02:23 UTC 2012


#17597: register theme directory() not working for themes outside WP_CONTENT_DIR
--------------------------+-----------------------
 Reporter:  tliebig       |       Owner:  nacin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.4
Component:  Themes        |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by nacin):

 In [20016]:
 {{{
 #!CommitTicketReference repository="" revision="20016"
 Fix the return value of get_theme_root() when the theme root is outside of
 WP_CONTENT_DIR, thus making it absolute rather than the typical relative
 theme root.

 Make get_theme_root_uri() tolerate an absolute path for a theme root. It
 will now make an attempt to find a corresponding URL for absolute paths as
 well.

 see #17597.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17597#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list