Title: [Plugin: Meta Tag Manager] Deprecated usage
Last modified: August 20, 2016

---

# [Plugin: Meta Tag Manager] Deprecated usage

 *  [krbvroc1](https://wordpress.org/support/users/krbvroc1/)
 * (@krbvroc1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-meta-tag-manager-deprecated-usage/)
 * Turning on WP-DEBUG yields warning messages due to this plugin:
 * ‘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.’
 * The problem is line 32:
 * add_options_page() uses the deprecated hard coded capability of the number 8.
   That should probably be replaced with ‘manage_options’.
 * When you get a chance can you make this small change and update so WP_DEBUG does
   not complain?
 * Thanks.
 * [http://wordpress.org/extend/plugins/meta-tag-manager/](http://wordpress.org/extend/plugins/meta-tag-manager/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [krbvroc1](https://wordpress.org/support/users/krbvroc1/)
 * (@krbvroc1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-meta-tag-manager-deprecated-usage/#post-2428890)
 * Another problem is the the deprecated usage of wp specialchars.
 * On line 44 and 45, you should change to:
 *     ```
       $name = esc_html ( $meta [0] );
       $content = esc_html ( $meta [1] );
       ```
   
 * That will get rid of a bunch of DEBUG warnings.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Meta Tag Manager] Deprecated usage’ is closed to new replies.

 * ![](https://ps.w.org/meta-tag-manager/assets/icon-256x256.png?rev=1419077)
 * [Meta Tag Manager](https://wordpress.org/plugins/meta-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/meta-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/meta-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/meta-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meta-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meta-tag-manager/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [krbvroc1](https://wordpress.org/support/users/krbvroc1/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-meta-tag-manager-deprecated-usage/#post-2428890)
 * Status: not resolved