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.”
“Here is a list of plugins (or rather the WordPress.org slugs for them) recently detected…
“Friends don’t let friends use PHP 4 style constructors.”
- The topic ‘constructor method for WP_Widget is deprecated’ is closed to new replies.