Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 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
3 years ago

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

#2 @helenyhou
3 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
3 years ago

Related: #20139. #21183

Version 0, edited 3 years ago by SergeyBiryukov (next)
Note: See TracTickets for help on using tickets.