[wp-trac] [WordPress Trac] #42573: Templates not working properly

WordPress Trac noreply at wordpress.org
Mon Nov 27 02:59:31 UTC 2017

#42573: Templates not working properly
 Reporter:  precies       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.9.1
Component:  Themes        |     Version:  4.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:

Comment (by dd32):

 In [changeset:"42243"]:
 #!CommitTicketReference repository="" revision="42243"
 Theme/Plugin Editor: Remove the caching added in [41806] as it causes more
 problems than it fixes.

 While caching here seemed like a good idea in theory, in practice the
 cache would be often stale causing development issues.
 We exclude common folders (such as `node_modules`) from the scanning to
 avoid directories which are not useful to the end-user, so as long as
 those exclusion lists are held up this shouldn't cause too much of a
 degredation in the future.
 We may consider adding caching here again in the future if it's determined
 that it is really needed.

 Props precies, ibenic, mariovalney, schlessera, and all the others who
 commented on the ticket(s).
 This partually reverts [41806].
 Merges [42242] to the 4.9 branch.
 See #6531.
 Fixes #42573 for 4.9.

Ticket URL: <https://core.trac.wordpress.org/ticket/42573#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list