Conversation
supportI am getting this notice when I have this plugin active and debugging turned on: Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/bitnami/wordpress/wp-includes/functions.php on line 3844 I traced this to the use of 10 for a user capability in the plugin. I can eliminate this warning if I replace line 21 with the following: add_options_page('Phpinfo', 'Phpinfo', 'edit_dashboard', __FILE__, 'dprx_phpinfo_manage_page'); Maybe you would consider an update to the plugin with this fix? https://wordpress.org/plugins/phpinfo/
No comments were stored for this source.