[wp-trac] [WordPress Trac] #11242: Add "template_include" action to be run just before templates are included
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 27 22:27:56 UTC 2009
#11242: Add "template_include" action to be run just before templates are included
------------------------------------+---------------------------------------
Reporter: holizz | Owner: westi
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+---------------------------------------
Comment(by nacin):
I also meant that you should get rid of the "$template != null" check near
the end of template-loader.php, and allow the filter to handle an empty
$template as well. That's all I got.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11242#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list