[wp-trac] [WordPress Trac] #21709: defect, Deprecated

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 28 03:07:18 UTC 2012


#21709: defect, Deprecated
--------------------------+-----------------------------
 Reporter:  shadowhck     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Feeds         |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21709>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list