Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#32872 closed defect (bug) (invalid)

Deprecated Notice: Constructor Method for WP_Widget since 4.3.0

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

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
11 years ago

  • Resolutioninvalid
  • Status newclosed

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

#3 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review

#4 @SergeyBiryukov
11 years ago

#32888 was marked as a duplicate.

#5 @keron097
11 years ago

  • Resolution invalid
  • Status closedreopened

#6 @knutsp
11 years ago

  • Resolutioninvalid
  • Status reopenedclosed

#7 @swissspidy
10 years ago

#36807 was marked as a duplicate.

Note: See TracTickets for help on using tickets.