• Resolved eventualo

    (@eventualo)


    I’m using this nice plugin (v.1.6.6) and I have WP_DEBUG always true for development.
    So I see some warnings that could be deleted quickly.
    Open socialize-this-php5-enviroment.php and edit these lines.

    41:
    FROM:
    $plugin_page = add_submenu_page('options-general.php', 'Socialize This', 'Socialize This', 10, ST_FILE, array($this, 'socialize_this_settings'));
    TO:
    $plugin_page = add_submenu_page('options-general.php', 'Socialize This', 'Socialize This', 'manage_options', ST_FILE, array($this, 'socialize_this_settings'));

    47;
    FROM:
    if($_GET['module'] == 'social_widgets'){
    TO:
    if( isset($_GET['module']) && $_GET['module'] == 'social_widgets'){

    69:
    FROM:
    }elseif($_GET['module'] == ''){
    TO:
    }elseif( !isset($_GET['module']) || $_GET['module'] == ''){

    133:
    FROM:
    if($_POST['Submit'] === 'Save Settings'){
    TO:
    if( isset($_POST['Submit']) && $_POST['Submit'] === 'Save Settings'){

    I hope it could be useful.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Socialize This] To delete warning and notice’ is closed to new replies.