[Plugin: Just Custom Fields] has_cap called with deprecated argument
-
[14-Dec-2011 20:49:50] PHP Notice: has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /mnt/target03/362566/www.raba-kistner.com/web/content/wp-includes/functions.php on line 3542
After some research, I discovered that this error is due to an incorrectly coded plugin. Through trial and error, I discovered the problem disappeared whenever I deactivated Just Custom Fields.
Plugin author – please update the code so it is not deprecated.
Users – the error will appear as long as the plugin is activated and debugging is turned on. You can always edit wp_config and set WP_DEBUG to false. That’s not an ideal solution, but at least it gets rid of the error. Otherwise it interferes with many basic functions of the admin console.
- The topic ‘[Plugin: Just Custom Fields] has_cap called with deprecated argument’ is closed to new replies.