• I am using this to feed Advisory information to an number of sites. Is there a way to suppress the warning in the widget if an RSS is empty? We have found a work around but I have to keep applying it every time the plugin is updated.

    Current work around:

    In: /var/www/tech_wordpress/wp-content/plugins/wp-rss-multi-importer/inc/rss_multi_importer_widget.php

    replace
    if (!isset($myarray) || empty($myarray)){

    return _e(“There is a problem with the feeds you entered. Go to our support page and we’ll help you diagnose the problem.”, ‘wp-rss-multi-importer’);
    exit;
    }

    with

    if (!isset($myarray) || empty($myarray)){
    $myarray = array();
    //return _e(“There is a problem with the feeds you entered. Go to our support page and we’ll help you diagnose the problem.”, ‘wp-rss-multi-importer’);
    //exit;
    }

    Thanks for creating this. It is great!

    https://ww.wp.xz.cn/plugins/wp-rss-multi-importer/

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

The topic ‘Supress Widget Warning’ is closed to new replies.