Title: Deprecated code
Last modified: August 22, 2016

---

# Deprecated code

 *  [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-4/)
 * Hi, running the plugin in debug mode throws this message in the backend:
 * > `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.
 * I would be glad if you would upgrade the code.
 * [https://wordpress.org/plugins/wpzon/](https://wordpress.org/plugins/wpzon/)

The topic ‘Deprecated code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpzon.svg)
 * [WpZon - Amazon Affiliate Plugin](https://wordpress.org/plugins/wpzon/)
 * [Support Threads](https://wordpress.org/support/plugin/wpzon/)
 * [Active Topics](https://wordpress.org/support/plugin/wpzon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpzon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpzon/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-4/)
 * Status: not resolved