[wp-trac] [WordPress Trac] #10467: Add a filter for changing where parent templates are located
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 13 18:32:38 UTC 2009
#10467: Add a filter for changing where parent templates are located
-------------------------+--------------------------------------------------
Reporter: apeatling | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 2.9
Component: Themes | Version: 2.8
Severity: normal | Keywords: has-patch, themes, parent themes, buddypress
-------------------------+--------------------------------------------------
Comment(by markjaquith):
{{{-005.diff}}} switches to using the transient system with a cache of two
hours (there is some chance that someone will shuffle themes around, not
hit the admin, and change the output of {{{get_themes()}}}). Fetches go
through {{{get_theme_roots()}}} which will check the transient, and if ===
false, run {{{get_themes()}}} to set it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10467#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list