• Replace the code in inc/widget-entry-views.php with the following using parent construct. Setting the defaults below it and everything else stays intact.

    Other than this, everything seems to be working fine with 4.7.5

          parent::__construct( 'ev-entry-views', 'Entry Views', $widget_options, $control_options );
    /*
           Create the widget. 
          $this->WP_Widget(
             'ev-entry-views',
             __( 'Entry Views', 'entry-views' ),
             $widget_options,
             $control_options
          );
    */
          /* Set up defaults. */
  • The topic ‘Depricated Constructor SOLVED’ is closed to new replies.