Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nix255

    (@nix255)

    If you are happy modifying php code then following code offers a quick fix. You will need the ‘mailchimp_widget.php’ file from the plugin folder. Then do the following:

    Find the following function around line 483 up to 488:

    function mailchimpSF_Widget() {
    		$widget_ops = array(
    			'description' => __('Displays a MailChimp Subscribe box', 'mailchimp_i18n')
    		);
    		$this->WP_Widget('mailchimpSF_widget', __('MailChimp Widget', 'mailchimp_i18n'), $widget_ops);
    	}

    and replace with:

    function __construct() {
    		$widget_ops = array(
    			'description' => __('Displays a MailChimp Subscribe box', 'mailchimp_i18n')
    		);
    		parent::__construct('mailchimpSF_widget', __('MailChimp Widget', 'mailchimp_i18n'), $widget_ops);
    	}

    Reupload the file and the error should be gone.

    Hey there nix255,

    Thanks for reporting this – I’ve passed the information along to our developers and requested that they look into it ASAP!

    -Kath

    Hi mc_kath,

    Are you able to find out if your developers have made any progress on updating the plug-in to remove use of WP-Widget?

    Thanks,
    Bruce.

    Hey Bruce —

    This should be good, now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP_Widget is deprecated bug report’ is closed to new replies.