[wp-trac] [WordPress Trac] #12877: Modular themes: Apply template hierarchy to folders within a theme

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 29 04:49:03 UTC 2010


#12877: Modular themes: Apply template hierarchy to folders within a theme
-----------------------------+----------------------------------------------
 Reporter:  koopersmith      |       Owner:                
     Type:  feature request  |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Themes           |     Version:  3.0           
 Severity:  normal           |    Keywords:  has-patch     
-----------------------------+----------------------------------------------

Comment(by nacin):

 Replying to [comment:23 scribu]:
 > With the current patch, the template files are not loaded in the global
 scope anymore, causing all sorts of trouble.

 I believe you're referring to the fact that core currently uses
 load_template() which extracts a ton of query variables into the global
 namespace. Yes, it would make sense for this to leverage that function.

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


More information about the wp-trac mailing list