[wp-trac] [WordPress Trac] #10467: Add a filter for changing where parent templates are located

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 11 16:34:25 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 apeatling):

 I've attached another patch that will store an option with all the theme
 roots stored. The option will update when get_themes() is run. Instead of
 fetching themes on the front end and looping to find the theme root, the
 option is fetched. If a match for the theme is found, the theme_root or
 theme_root_uri is filtered with the theme root value.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10467#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list