[wp-trac] [WordPress Trac] #20509: Theme idea - generic.php

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 10 19:57:22 UTC 2012


#20509: Theme idea - generic.php
--------------------------------------+------------------------------
 Reporter:  johnjamesjacoby           |       Owner:
     Type:  feature request           |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+------------------------------

Comment (by scribu):

 > I'd rather we didn't use template_redirect, but instead ride on the
 shoulders of template_include and pull in the generic.php or
 plugin-{slug}.php from that point within WordPress core.

 I can make it use 'template_include' instead of 'template_redirect', but I
 don't see how that would help. You'd just do some more processing, only to
 throw it away.

 Also, what do you mean by `plugin-{slug}.php`?

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


More information about the wp-trac mailing list