[wp-trac] [WordPress Trac] #20103: Rewrite get_themes() and other enemies of sanity
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 6 01:50:57 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 |
--------------------------+------------------
Comment (by nacin):
In [20118]:
{{{
#!CommitTicketReference repository="" revision="20118"
Store relative-to-wp-content theme roots, as that is what
get_theme_roots() should be receiving. see #20103.
Since search_theme_directories() now generates this and leverages this as
a cache, convert absolute to relative on cache storage, and relative to
absolute on cache retrieval.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20103#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list