constructor method for WP_Widget is deprecated
-
Following WordPress 4.3 update:
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0!
Use __construct() instead.“If you are sub classing a WordPress class and calling the PHP4 constructor, you should update your code to use parent::__construct instead. You should also audit your own code to make sure it is using PHP5 style constructors.”
https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/“Here is a list of plugins (or rather the WordPress.org slugs for them) recently detected…
https://gist.github.com/chriscct7/d7d077afb01011b1839d
“Friends don’t let friends use PHP 4 style constructors.”
The topic ‘constructor method for WP_Widget is deprecated’ is closed to new replies.