[Plugin: Sociable] A suggestion to improve the code
-
Hi,
When I activate debug mode on WP, I get some warnings because of
deprecated argument in function add_options_page(). These warnings suggest to replace “users level” with “roles and capabilities” and are produced by some plugins including yours.I suggest you replace line 1013 :
add_options_page( 'Sociable', 'Sociable', 8, 'Sociable', 'sociable_submenu');with
add_options_page( 'Sociable', 'Sociable', 'manage_options', 'Sociable', 'sociable_submenu');Do you agree with me ?
The topic ‘[Plugin: Sociable] A suggestion to improve the code’ is closed to new replies.