Title: [Plugin: Sociable] Using deprecated user capability functions
Last modified: August 19, 2016

---

# [Plugin: Sociable] Using deprecated user capability functions

 *  [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-sociable-using-deprecated-user-capability-functions/)
 * When testing themes with WP_DEBUG on this plugin is giving a deprecation notice
   regarding user capabilities.
 * 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.
 * I am starting to use Sociable a lot and it would be great if this minor issue
   were resolved. Thank you BlogPlay for maintaining such a useful plugin/feature.
 * [http://wordpress.org/extend/plugins/sociable/](http://wordpress.org/extend/plugins/sociable/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-using-deprecated-user-capability-functions/#post-1830139)
 * I’m not sure how to contact BlogPlay but if anyone involved with Sociable could
   replace line 1013:
 * `add_options_page('Sociable', 'Sociable', 8, 'Sociable', 'sociable_submenu');`
 * with
 * `add_options_page('Sociable', 'Sociable', 'manage_options', 'Sociable', 'sociable_submenu');`
 * I would really appreciate it. I love Sociable, and I love the WordPress plugin
   but the deprecated numeric ‘has_cap’ E_NOTICE is driving me crazy while I’m developing
   😉
 * Thanks.
 *  Thread Starter [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-using-deprecated-user-capability-functions/#post-1830140)
 * Also could you search and replace:
 * `attribute_escape`
 * with:
 * `esc_attr`
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Sociable] Using deprecated user capability functions’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sociable.svg)
 * [Sociable](https://wordpress.org/plugins/sociable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sociable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sociable/)
 * [Active Topics](https://wordpress.org/support/plugin/sociable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sociable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sociable/reviews/)

## Tags

 * [warnings](https://wordpress.org/support/topic-tag/warnings/)

 * 2 replies
 * 1 participant
 * Last reply from: [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-sociable-using-deprecated-user-capability-functions/#post-1830140)
 * Status: not resolved