#21709 closed defect (bug) (duplicate)
defect, Deprecated return value of new by reference
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | External Libraries | Version: | |
| Severity: | normal | Keywords: | |
| 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)
- Summary changed from defect, Deprecated to defect, Deprecated return value of new by reference
- 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
SergeyBiryukov — 9 months ago
Version 0, edited 9 months ago
by SergeyBiryukov
(next)
Note: See
TracTickets for help on using
tickets.

#12367