wordpress-develop
wordpress-develop copied to clipboard
OPcache: Add information to the Site Health -> Server
This PR adds OPCache information to the Site Health Info page so administrators can see how their PHP OPcache is performing.
The code checks if OPcache is available using extension_loaded('opcache'), then gets detailed status using opcache_get_status(). It displays both user-friendly formatted values and debug information for copying to clipboard. All text is properly internationalized and follows WordPress coding standards.
Trac ticket: https://core.trac.wordpress.org/ticket/63697
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.