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

WordPress Trac noreply at wordpress.org
Wed Jun 24 06:55:18 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:
-------------------------------------------+---------------------------

Comment (by nextendweb):

 @mikeschroder 36455.16.diff
 Maybe there should be a local implementation of
 {{{wp_opcache_invalidate}}} => {{{_wp_opcache_invalidate}}} inside
 {{{update-core.php}}} like the {{{copy_dir}}} => {{{_copy_dir}}} as it
 would result backward opcache invalidate, which is good I think.

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


More information about the wp-trac mailing list