WordPress.org

Ready to get started?Download WordPress

Forums

Sociable
A suggestion to improve the code (1 post)

  1. soleil_levant
    Member
    Posted 3 years ago #

    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 ?

    http://wordpress.org/extend/plugins/sociable/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags