diff -r 3d4e9c994f10 -r a86126ab1dd4 wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions/widget-video.php --- a/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions/widget-video.php Tue Oct 22 16:11:46 2019 +0200 +++ b/wp/wp-content/themes/IN-MOTION-package-u1/in-motion/functions/widget-video.php Tue Dec 15 13:49:49 2020 +0100 @@ -16,7 +16,7 @@ /* Widget Setup /*-----------------------------------------------------------------------------------*/ -function video_Widget() { +function __construct() { $widget_options = array( 'classname' => 'video_widget', @@ -28,7 +28,7 @@ 'id_base' => 'video_widget' ); - $this->WP_Widget( 'video_widget', 'Video Widget', $widget_options, $control_options ); + parent::__construct( 'video_widget', 'Video Widget', $widget_options, $control_options ); }