Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#21709 closed defect (bug) (duplicate)

defect, Deprecated return value of new by reference

Reported by: shadowhck Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: Cc:


Deprecated: Assigning the return value of new by reference is deprecated in D:\htdocs\wp-includes\class-simplepie.php on line 739

I think the solution would be to replace for example:

$this->sanitize =& new SimplePie_Sanitize;


$this->sanitize = new SimplePie_Sanitize;

The entire file wp-includes/class-simplepie.php has =& references.

Change History (3)

#1 @shadowhck
6 years ago

  • Summary changed from defect, Deprecated to defect, Deprecated return value of new by reference

#2 @helenyhou
6 years ago

  • Component changed from Feeds to External Libraries
  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#3 @SergeyBiryukov
6 years ago

Related: #20139, #21183

Last edited 6 years ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.