Call opcache_reset() after plug-in, theme or core update
|Reported by:||nigro.simone||Owned by:|
|Component:||Upgrade/Install||Keywords:||2nd-opinion has-patch needs-testing|
wordpress it seem not reset Zend OpCache after plug-in, theme or core are updated.
For solve this issue i have set in the php.ini
all work correctly but validate_timestamps when it's enabled, PHP will check the file timestamp each request with a performance degradation. When it's disabled, PHP files are NEVER checked for updated code. When wordpress updating code, new code files can get mixed with old ones, the results are unknown. It's unsafe as hell.
Why wordpress not perform an opcache_reset() after each update if opcache is active and opcache.validate_timestamps is false?
Change History (16)
- Focuses performance removed
- Keywords needs-patch 2nd-opinion added
- Version 4.4.2 deleted
2 months ago
- Milestone changed from Awaiting Review to 4.8
- Type changed from feature request to enhancement