WordPress 4.3 “Billie” was just released.
Some plugins that use WordPress widgets may try to access the WP_Widget class method directly in it’s own class method like this:
$this -> WP_Widget()
As a result, WordPress gives the following PHP notice:
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead
The solution is to change…
$this -> WP_Widget()
to…
parent::__construct()
August 19, 2015 at 5:55 am
Thanks!
August 19, 2015 at 12:49 pm
You’re welcome, I’m glad that you found it useful.