[wp-trac] [WordPress Trac] #42573: Templates not working properly
WordPress Trac
noreply at wordpress.org
Sun Nov 19 22:53:11 UTC 2017
#42573: Templates not working properly
--------------------------+--------------------
Reporter: precies | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.1
Component: Themes | Version: 4.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by SergeyBiryukov):
Replying to [comment:24 Clorith]:
> If we do decide to keep the transient in place, I do like the WP_DEBUG
check, with it in use there's no need for the extra functions to clear
things, as the version bump invalidation should take care of things for
end users, but the patch needs refined a little.
I don't think the `WP_DEBUG` check is enough here. Plenty of users that
create custom templates never heard of `WP_DEBUG`, and bumping the theme
version is not an obvious step either.
Could we disable the caching for files in the theme's root directory
(which seems to be where most users upload custom templates), and only use
it for subdirectories?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42573#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list