[wp-trac] [WordPress Trac] #40731: locate_template() performance improvement

WordPress Trac noreply at wordpress.org
Fri Jun 16 11:38:16 UTC 2017


#40731: locate_template() performance improvement
-----------------------------------------+---------------------------------
 Reporter:  danielhuesken                |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Themes                       |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  template,
                                         |  performance
-----------------------------------------+---------------------------------
Changes (by johnbillion):

 * keywords:  dev-feedback has-patch => has-patch reporter-feedback


Comment:

 Thanks for the patch @danielhuesken.

 Can you let us know in what situation this would improve performance
 please? It appears that performance is only improved with repeated calls
 to locate templates of the same name. Is this is common occurrence?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40731#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list