Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32881 closed defect (bug) (fixed)

Twenty Eleven Ephemera Widget class constructor

Reported by: afercia's profile afercia Owned by: obenland's profile obenland
Milestone: 4.3 Priority: normal
Severity: normal Version: 4.3
Component: Bundled Theme Keywords: has-patch needs-testing
Focuses: Cc:

Description

Consider to update the Twenty_Eleven_Ephemera_Widget class constructor, see Deprecating PHP4 style constructors in WordPress 4.3

Attachments (1)

32881.patch (3.2 KB) - added by Frank Klein 10 years ago.

Download all attachments as: .zip

Change History (5)

@Frank Klein
10 years ago

#1 @Frank Klein
10 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

#2 @obenland
10 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 33085:

Deprecate PHP4 style contructor in Twenty Eleven's Ephemera widget.

See #31982.

Props Frank Klein.
Fixes #32881.

#3 @ocean90
10 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

_deprecated_constructor() is new in 4.3 and can't be used in Twenty Eleven. Removing the line should be enough.

#4 @obenland
10 years ago

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

In 33086:

Remove deprecated constructor notice.

Since Twenty Eleven can be used with WordPress releases prior to 4.3, it can't
contain calls to functions that were introduced after its initial release.

Props ocean90.
Fixes #32881.

Note: See TracTickets for help on using tickets.