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

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 27 22:37:48 UTC 2012


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

Comment (by nacin):

 register_theme_directory() is only supposed to work within WP_CONTENT_DIR.
 Supporting it outside of WP_CONTENT_DIR could happen I suppose, but
 definitely not before #20103 settles. Unfortunately the theme root API is
 a bit kludgy and only lightly used. (#20103 includes a fix for a rather
 annoying bug, for example, to get_raw_theme_root().)

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


More information about the wp-trac mailing list