• ResolvedPlugin Author ollybach

    (@ollybach)


    Hi

    i know that the current version throws a

    PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0!

    i am currently testing a new version that has quite a few updates (and of course fixes that notice) but cannot release it yet for a few days until i’m done with testing a bit more.

    in the meantime – if this really bugs you – you can do this in the main wppizza.php file

    on approximate line 146 you will find:

    $this->WP_Widget(false, $name=$this->pluginName, $widget_opts);

    just replace this with

    parent::__construct(false, $name=$this->pluginName, $widget_opts);

    and that notice will go away.

    of course, you should never output errors/notices/warnings in a production environment but log them instead.

    the update should be available next week. thanks for your patience

    https://wordpress.org/plugins/wppizza/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp 4.3 – wp_widget deprecated’ is closed to new replies.