Support » Plugin: Sociable » [Plugin: Sociable] Using deprecated user capability functions
6 years, 3 months ago
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.
6 years, 1 month ago
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');
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 😉
Also could you search and replace: