Constructor cleanup. Props ocean90. fixes #16768

git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-04-29 20:05:12 +00:00
parent e0ffff9fb5
commit 04487fc268
33 changed files with 54 additions and 122 deletions

View File

@@ -60,7 +60,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
var $inline_diff_renderer = 'WP_Text_Diff_Renderer_inline';
/**
* PHP4 Constructor - Call parent constructor with params array.
* Constructor - Call parent constructor with params array.
*
* This will set class properties based on the key value pairs in the array.
*
@@ -68,7 +68,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
*
* @param array $params
*/
function Text_Diff_Renderer_Table( $params = array() ) {
function __construct( $params = array() ) {
$parent = get_parent_class($this);
$this->$parent( $params );
}