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

WordPress Trac noreply at wordpress.org
Thu Nov 23 15:02:17 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 Otto42):

 @schlessera I get that file IO is a thing, but the previous editor didn't
 have this cache, and I don't recall any reports of people having issues
 with it trashing their IO. Yes, you could conceivably make a plugin nest
 so deeply that a simple scandir takes forever and breaks the site, but
 realistically, PHP only has 30 seconds to run and it will get killed off
 before that happens. Also, we'd remove the plugin from the directory for
 being stupid like that.

 So, again, what *actual* problem does this solve? Not theoretical, but is
 there any real instance of a plugin that takes more than a few seconds to
 do a scandir of? Jetpack is the biggest most complex plugin I'm aware of,
 and it works just fine.

 So, yeah, I'm still voting to just remove the transient entirely. It's
 creating problems, not solving them. Your patch for 5 minutes is great and
 all, but it's probably better to not have a cache than to cache
 preemptively for no real reason.

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


More information about the wp-trac mailing list