[wp-trac] [WordPress Trac] #18151: Option to return string false for locate_template()

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 18 10:56:03 UTC 2011


#18151: Option to return string false for locate_template()
-------------------------+------------------------------
 Reporter:  griffinjt    |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by kawauso):

 I don't understand why you're stuck with outputting the template filename
 if you use locate_template() in the 'template_redirect' hook. Can you
 provide the use case code for that?

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


More information about the wp-trac mailing list