[wp-trac] [WordPress Trac] #10467: Add a filter for changing where parent templates are located
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 10 13:18:44 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
-------------------------+--------------------------------------------------
Changes (by westi):
* owner: => westi
* status: new => reviewing
Comment:
From a quick review the current issue we need to resolve is calling
get_themes() when displaying on the front end.
That is going to scan the theme folder for every page load which is not a
scalable solution.
I guess we need to cache more info in the database so the front end stuff
can be all options based.
We should only be calling get_themes() when we want to display the list of
themes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10467#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list