Ticket #16768: text_diff.16768.patch
| File text_diff.16768.patch, 1.4 KB (added by , 15 years ago) |
|---|
-
wp-includes/wp-diff.php
69 69 * @param array $params 70 70 */ 71 71 function __construct( $params = array() ) { 72 $parent = get_parent_class($this); 73 $this->$parent( $params ); 72 parent::__construct( $params ); 74 73 } 75 74 76 75 /** -
wp-includes/Text/Diff/Renderer.php
33 33 /** 34 34 * Constructor. 35 35 */ 36 function Text_Diff_Renderer($params = array())36 function __construct($params = array()) 37 37 { 38 38 foreach ($params as $param => $value) { 39 39 $v = '_' . $param; -
wp-includes/Text/Diff.php
33 33 * Normally an array of two arrays, each 34 34 * containing the lines from a file. 35 35 */ 36 function Text_Diff($engine, $params)36 function __construct($engine, $params) 37 37 { 38 38 // Backward compatibility workaround. 39 39 if (!is_string($engine)) {