Support » Plugin: YARPP - Yet Another Related Posts Plugin » WP_Widget is deprecated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Annoying to see such thing with a “pro” plugin:

    The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead.

    I agree, it’s a bit annoying, but you give your own solution already.
    What’s the problem with changing it yourself to get rid of the debug error and in the next update it’s hopefully fixed….

    You can also stick this in wp-config.php which will output the error to a file instead of on screen.

    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP_Widget is deprecated!’ is closed to new replies.