[wp-trac] [WordPress Trac] #20103: Rewrite get_themes() and other enemies of sanity
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 28 01:04:41 UTC 2012
#20103: Rewrite get_themes() and other enemies of sanity
------------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Themes | Version: 1.5
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------
Comment (by nacin):
Related tickets I could find:
* #17597, register_theme_directory() does not work for files outside
WP_CONTENT_DIR (WP_PLUGIN_DIR does not need to be within WP_CONTENT_DIR,
for example). get_theme_root() always prepends WP_CONTENT_DIR, but
get_raw_theme_root() sometimes returns an absolute path instead of the
relative-to-content path as documented. The patch here tries to fix this
but not correctly. Coming up with a better solution.
* #16744, theme editor does not work when the parent theme is in a
different theme root. Should be easy to fix with WP_Theme.
* #10067 (closed as duplicate), theme_basename() function. This is
superseded by the power available here.
If you can find any other tickets related to the theme or theme root API,
please shout.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20103#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list