PHP4 style constructors deprecated
-
To fix it:
Replace
function Advanced_Menu_Widget() { $widget_ops = array( 'description' => 'Use this widget to add one of your custom menus as a widget.' ); parent::WP_Widget( 'advanced_menu', 'Advanced Menu', $widget_ops ); }
with:
function __construct() { $widget_ops = array( 'description' => 'Use this widget to add one of your custom menus as a widget.' ); parent::__construct( 'advanced_menu', 'Advanced Menu', $widget_ops ); }
in advanced-menu-widget.php, line 303
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP4 style constructors deprecated’ is closed to new replies.