[wp-trac] [WordPress Trac] #18265: Use load_template in template-loader.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 27 12:01:59 UTC 2011
#18265: Use load_template in template-loader.php
-------------------------+-----------------------
Reporter: elyobo | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by nacin):
Sorry, I meant that it's the $load = true argument of locate_template()
that triggers load_template(). That is never used in core.
load_template() is used directly in only one situation: feed templates.
(Also theme-compat files, but those don't really count.)
Otherwise, load_template() is just used by plugins.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18265#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list