[wp-trac] [WordPress Trac] #37339: Need to invalidate opcode cache after writing configuration

WordPress Trac noreply at wordpress.org
Thu Sep 3 19:47:27 UTC 2020


#37339: Need to invalidate opcode cache after writing configuration
-------------------------------------+------------------------------
 Reporter:  remicollet               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch needs-testing
 * component:  General => Upgrade/Install
 * milestone:   => Awaiting Review


Comment:

 I have not yet been able to confirm this issue is still reproducible.
 However, the ticket noted above by @swissspidy was fixed as a part of
 version 5.5. The changes introduced a new `wp_opcache_invalidate()`
 function.

 If the issue can still be reproduced, that wrapper function should be used
 instead of the PHP default `opcache_invalidate()`.

 @mikeschroder would you be able to take a look at this by chance?

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


More information about the wp-trac mailing list