[wp-trac] [WordPress Trac] #10467: Add a filter for changing where parent templates are located
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 23 17:00:03 UTC 2009
#10467: Add a filter for changing where parent templates are located
-------------------------+--------------------------------------------------
Reporter: apeatling | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 2.8
Severity: normal | Keywords: has-patch, themes, parent themes, buddypress
-------------------------+--------------------------------------------------
Comment(by apeatling):
@dd32: That is another option, but it sounds as though it would probably
be hacky. Doing it this way at least keeps within the standard way of
activating and loading themes.
I've updated the patch as the $theme_loc needs to be filtered too so that
the "Available Themes" screen accurately reflects the location of the
parent template. The variables also need to be unfiltered at the beginning
of each iteration, as to not filter the template location of other themes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10467#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list