The called constructor method for WP_Widget in BWP_RC_Widget is deprecated
-
Hi, it is a pity that this plugin isn’t updating anymore. It is a great plugin, sadly development stopped! To anybody how wants to use this plugin with PHP 7, tot ride of the notice “The called constructor method for WP_Widget in BWP_RC_Widget is deprecated” change this in the class-bwp-framework.php file, line 10-17
class BWP_RC_Widget extends WP_Widget { public function __construct() { $widget_ops = array('classname' => 'bwp-rc-widget', 'description' => __( 'Show a list of recent comments/trackbacks generated by the BWP Recent Comments plugin.', 'bwp-rc') ); $control_ops = array('width' => 350); parent::__construct('bwp_recent_comments', __('BWP Recent Comments', 'bwp-rc'), $widget_ops, $control_ops); }
- The topic ‘The called constructor method for WP_Widget in BWP_RC_Widget is deprecated’ is closed to new replies.