WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#32872 closed defect (bug) (invalid)

Deprecated Notice: Constructor Method for WP_Widget since 4.3.0

Reported by: baden03 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Widgets Keywords:
Focuses: Cc:

Description

The following Notice is being thrown, and since I could find no ticket on it, I though I would open one.

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /var/www/vhosts/.../wp-includes/functions.php on line 3456

After a bit of trouble shooting it seems that any plugin that uses the Widgets_API

class My_Widget extends WP_Widget {
   ...
}

Change History (7)

#2 @baden03
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Huzzah! This is what I was looking for but could not find.
Thank you. Non-bug issue resolved.

#3 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted

#4 @SergeyBiryukov
5 years ago

#32888 was marked as a duplicate.

#5 @keron097
5 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#6 @knutsp
5 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

#7 @swissspidy
4 years ago

#36807 was marked as a duplicate.

Note: See TracTickets for help on using tickets.