[wp-trac] [WordPress Trac] #36455: Call opcache_reset() after plug-in, theme or core update
WordPress Trac
noreply at wordpress.org
Fri Jan 6 06:52:53 UTC 2017
#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: 2nd-opinion has-patch needs-testing | Focuses:
-------------------------------------------------+------------------
Changes (by asalce):
* keywords: needs-patch 2nd-opinion => 2nd-opinion has-patch needs-testing
Comment:
I attached a new function wp_opcache_reset which should be called on
"upgrader_process_complete" action. This should clear the OP Cache when
ever the upgrade/update process is completed, I wasn't sure if this action
is called for all updates (theme, plugin, wp core). Let me know if the
attached patch fixes your issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36455#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list