[wp-trac] Re: [WordPress Trac] #7492: Template tag: wp_include_file

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 10 19:30:36 GMT 2008


#7492: Template tag: wp_include_file
-------------------------+--------------------------------------------------
 Reporter:  KKWangen     |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.7      
Component:  Template     |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by jacobsantos):

 I have this in my custom applications. I don't like it being in
 !WordPress, because conditional including is slower than just plain
 including what you need. For themes, I don't think it makes a great deal
 of sense. You should know exactly what you are going to include.

 When it comes to themes !WordPress doesn't always know what you mean and
 what should be loaded. In that case, it is better for conditional loading.
 It would be good to include the API in your themes functions.php file, if
 you want it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7492#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list