Plugin uses depreciated functions
-
When I enable the plugin on my testing site with all the debug messages on I get the following:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; warm_cache has a deprecated constructor in /home/.../public_html/wp-content/plugins/warm-cache/warm-cache.php on line 48 Deprecated: Non-static method warm_cache::addPluginSubMenu_() should not be called statically in /home/.../public_html/wp-includes/class-wp-hook.php on line 298 Deprecated: Non-static method mijnpress_plugin_framework::addPluginSubMenu() should not be called statically in /home/.../public_html/wp-content/plugins/warm-cache/warm-cache.php on line 153 Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/.../public_html/wp-includes/functions.php on line 4023
For now it works on the live site but considering these are depreciated it would be good to have these issues cleared up.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin uses depreciated functions’ is closed to new replies.