[wp-trac] [WordPress Trac] #42573: Templates not working properly
WordPress Trac
noreply at wordpress.org
Tue Nov 21 19:23:40 UTC 2017
#42573: Templates not working properly
--------------------------+-----------------------
Reporter: precies | Owner:
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 4.9.1
Component: Themes | Version: 4.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by Howdy_McGee):
I wouldn't mind seeing the cache being used in template functions such as
`locate_template()`.
Initially, I was all in favor of just using `WP_DEBUG` as the
enable/disable flag for caching theme files until I realize that on live
sites, I still keep `WP_DEBUG` and `WP_DEBUG_LOG` enabled to take care of
any issues that crop up. So I would need to make a choice, what's better
for this live site, caching the theme files or being able to log any
potential issues that may crop-up upon plugin / theme updating?
I like the functionality but I don't like ( along with many others ) it
interfering with my development speed. I'm in favor of an additional wp-
config flag to enable / disable this type of caching functionality; that's
my vote.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42573#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list