Fix for notice due to WP_Widget constructor
-
Hi! Thank you for this amazing plugin ??
Since this bit of code hasn’t been updated in a while, there is an issue with the way how the parent constructor of WP_Widget is called.
Line 513 in the file secondary-html-content.php has to be changed from
$this->WP_Widget( 'secondary-html-content', __( 'Secondary HTML Content', 'secondary_html_content' ), $widget_ops );
to
parent::__construct( 'secondary-html-content', __( 'Secondary HTML Content', 'secondary_html_content' ), $widget_ops );
Would be nice if you could integrate this change in an update.
Thanks,
Thomas
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix for notice due to WP_Widget constructor’ is closed to new replies.