[wp-trac] [WordPress Trac] #36455: Call opcache_reset() after plug-in, theme or core update

WordPress Trac noreply at wordpress.org
Mon Jun 15 14:19:45 UTC 2020


#36455: Call opcache_reset() 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:
-------------------------------------------+---------------------------

Comment (by mikeschroder):

 Thanks so much @nextendweb!

 Did a pass on this in [attachment:"36455.12.diff"], and would appreciate a
 look/test/opinions from whoever has the chance.

 I'm noticing that this widens the files that might be invalidated in the
 plugin editor to include `.phtml`.

 I didn't include the parameter for extension in this pass -- It might be
 worthwhile to check and see how common the alternate names are in the
 plugin/theme repos, to see what should be whitelisted, and how much it'd
 help users to be able to specify an extension.

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


More information about the wp-trac mailing list