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

WordPress Trac noreply at wordpress.org
Wed Dec 21 12:32:52 UTC 2016


#36455: Call opcache_reset() after plug-in, theme or core update
-------------------------------------+------------------
 Reporter:  nigro.simone             |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.8
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+------------------

Comment (by szepe.viktor):

 Replying to [comment:6 JanR]:
 > As long as tools like WP-CLI use native WordPress core functionality,
 there should be no problem adding such a flush function to the core.


 OPcache uses the process' shared memory thus Apache has no common OPcache
 with php-cli.

 Drush uses a special URL to purge opcode cache.

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


More information about the wp-trac mailing list