Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#21709 closed defect (bug) (duplicate)

defect, Deprecated return value of new by reference

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

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)

#1 @shadowhck
14 years ago

  • Summary defect, Deprecateddefect, Deprecated return value of new by reference

#2 @helenyhou
14 years ago

  • Component FeedsExternal Libraries
  • Keywords needs-patch removed
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

#3 @SergeyBiryukov
14 years ago

Related: #20139, #21183

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