WordPress.org

Make WordPress Core

#21838 closed defect (bug) (duplicate)

Network Update - don't create default object from empty value

Reported by: wonderboymusic Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Warnings/Notices Keywords: has-patch
Focuses: Cc:

Description

PHP 5.4 will fire off a notice if you add properties to a variable that hasn't first been instantiated as an object instance.

Attachments (1)

update-std-class.diff (439 bytes) - added by wonderboymusic 20 months ago.

Download all attachments as: .zip

Change History (2)

comment:1 SergeyBiryukov20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.