[wp-trac] [WordPress Trac] #36455: Invalidate files in opcode cache after plug-in, theme or core update

WordPress Trac noreply at wordpress.org
Fri Jun 19 08:17:35 UTC 2020


#36455: Invalidate files in opcode cache after plug-in, theme or core update
-------------------------------------------------+-------------------------
 Reporter:  nigro.simone                         |       Owner:
                                                 |  mikeschroder
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.5
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing early        |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by nextendweb):

 > @ayeshrajans Removed phtml file extension from the list. I don't know
 why the original author added it, but I checked whole WordPress source to
 make sure we don't have any .phtml files.

 WordPress itself might not use it, but plugins and themes might and I'm
 sure they do (including myself). It would be better to keep every popular
 PHP file extensions to match for the best result, this is why I suggested
 the invalidate {{{.php}}} and {{{.phtml}}} files.

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


More information about the wp-trac mailing list