Title: [Plugin: Artiss Code Embed] Debug level warnings
Last modified: August 20, 2016

---

# [Plugin: Artiss Code Embed] Debug level warnings

 *  Resolved [termite2](https://wordpress.org/support/users/termite2/)
 * (@termite2)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-artiss-code-embed-debug-level-warnings/)
 * Hello,
 * most of the plugin seems to work, however the plugin apparently relies on deprecated
   functionality, so when debugging is enabled it triggers 4 warnings on every admin
   page:
 * 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.
    Notice: add_contextual_help is deprecated since version
   3.3! Use get_current_screen()->add_help_tab() instead. 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. Notice:
   add_contextual_help is deprecated since version 3.3! Use get_current_screen()-
   >add_help_tab() instead.
 * The warnings appear on all admin pages. Was this plugin tested with 3.3.1 properly?
 * [http://wordpress.org/extend/plugins/simple-embed-code/](http://wordpress.org/extend/plugins/simple-embed-code/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-artiss-code-embed-debug-level-warnings/#post-2541000)
 * Thanks for letting me know.
 * There are 4 warnings, but only 2 unique. The first (has_cap) I’ll add to my list
   to sort.
 * The other, about using add_contextual_help… well, first of all, my plugin hasn’t
   been updated with 3.3 compatibility so give me chance 😉 Also, it may be deprecated
   BUT the replacement function was only added in 3.3 – therefore I’d have to restrict
   the plugin to WP 3.3. Not surprisingly, I won’t be intending to change it for
   now!
 * David.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Artiss Code Embed] Debug level warnings’ is closed to new replies.

 * ![](https://ps.w.org/simple-embed-code/assets/icon.svg?rev=3073981)
 * [Code Embed](https://wordpress.org/plugins/simple-embed-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-embed-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-embed-code/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-embed-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-embed-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-embed-code/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Artiss](https://wordpress.org/support/users/dartiss/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-artiss-code-embed-debug-level-warnings/#post-2541000)
 * Status: resolved