[wp-trac] [WordPress Trac] #24372: Text_Diff: Deprecated and Strict Standards PHP warnings

WordPress Trac noreply at wordpress.org
Mon May 20 17:19:49 UTC 2013


#24372: Text_Diff: Deprecated and Strict Standards PHP warnings
------------------------------+-------------------
 Reporter:  ocean90           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  3.6
Component:  Warnings/Notices  |    Version:  trunk
 Severity:  normal            |   Keywords:
------------------------------+-------------------
 Since [24288].


 {{{
 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff.php on line 380

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff.php on line 402

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff.php on line 424

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff.php on line 446

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Renderer.php on line 101

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Renderer.php on line 121

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Engine/native.php on line 107

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Engine/native.php on line 122

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Engine/native.php on line 124

 Deprecated: Assigning the return value of new by reference is deprecated
 in /wp-includes/Text/Diff/Engine/native.php on line 126

 Strict Standards: array_walk() expects parameter 2 to be a valid callback,
 non-static method Text_Diff::trimNewlines() should not be called
 statically in /wp-includes/Text/Diff/Engine/native.php on line 33

 Strict Standards: array_walk() expects parameter 2 to be a valid callback,
 non-static method Text_Diff::trimNewlines() should not be called
 statically in /wp-includes/Text/Diff/Engine/native.php on line 34
 }}}

 Upstream is http://www.horde.org/libraries/Horde_Text_Diff. There is a
 newer version, but it's NOT back compatible.

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


More information about the wp-trac mailing list