[wp-trac] [WordPress Trac] #16128: WordPress Template System Override

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 6 21:17:43 UTC 2011


#16128: WordPress Template System Override
-----------------------------------------+-----------------------------
 Reporter:  pearsonified                 |       Owner:
     Type:  feature request              |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Themes                       |     Version:  3.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch 2nd-opinion close  |
-----------------------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch 2nd-opinion => has-patch 2nd-opinion close


Comment:

 Small picture: There's no need to keep an action under lock and key unless
 a theme supports it.

 Big picture: template_redirect is the *perfect* hook here. It's designed
 to be used to include a template and die. If you want to override the
 template hierarchy entirely, then you already have this power.

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


More information about the wp-trac mailing list