[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:48: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 westi):

 Looking over this now.

 Comments:

 I am trying to remove all create_function calls in WordPress which are
 written such that the function body is based on variables as it has been
 shown that this can be used to perform code evaluation so I would rather
 not add some more of these.

 I guess we may need more code in get_theme_root and get_theme_root_uri
 instead.

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


More information about the wp-trac mailing list