Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Depricated Constructor SOLVED

$
0
0

Replies: 0

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. */

Viewing all articles
Browse latest Browse all 59525

Trending Articles