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.www.ads-software.com/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/“Here is a list of plugins (or rather the www.ads-software.com slugs for them) recently detected…
https://gist.github.com/chriscct7/d7d077afb01011b1839d
“Friends don’t let friends use PHP 4 style constructors.”https://www.google.com/search?q=called+constructor+method+for+WP_Widget+is+deprecated
- The topic ‘constructor method for WP_Widget is deprecated’ is closed to new replies.