Plugin has significant PHP 8 issues
-
There is no reason why anyone should still be running this 14-year-old plugin, but there are over 500 installs, including our multisite network (I am embarrassed to say).
This plugin changes the global wp_version to an integer with a random 3-digit string on each page load. This causes deprecation warnings for any plugin that tries to evaluate $wp_version. It even causes a fatal error in recent version of Object Cache Pro.
If you have WP CLI access to your site, you can run the following to verify:
wp eval var_dump($GLOBALS["wp_version"]);
Expected value:string(5) "6.8.3"
Example value after being overwritten by Hide WordPress Version (integer is random):int(585)
The topic ‘Plugin has significant PHP 8 issues’ is closed to new replies.