WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months 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:

Description

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;

solution:

$this->sanitize = new SimplePie_Sanitize;

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

Change History (3)

comment:1 shadowhck20 months ago

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

comment:2 helenyhou20 months 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

comment:3 SergeyBiryukov20 months ago

Related: #20139. #21183

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