Compatability with WP 4.3
-
Got WP error message:
Constructor in WP_Widgetdoes not exist use__construct()
instead
As of WP 4.3
Found a solution:
In file tempera/includes/Widgets.php on line 23:
Replace:
$this->WP_Widget(‘columns_widget’, ‘Cryout Column’, $widget_ops, $control_ops);
With:
parent::__construct(‘columns_widget’, ‘Cryout Column’ , $widget_ops, $control_ops);Seems to work well.
- The topic ‘Compatability with WP 4.3’ is closed to new replies.