]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/wp-diff.php
WordPress 3.3.2
[autoinstalls/wordpress.git] / wp-includes / wp-diff.php
index e2ceb9f78537e8820e78c6b69097b7ab9d8e8f7c..ed36ee908ba403a1dba9c89ceac628e6a0ae25e4 100644 (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,9 +68,8 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
         *
         * @param array $params
         */
-       function Text_Diff_Renderer_Table( $params = array() ) {
-               $parent = get_parent_class($this);
-               $this->$parent( $params );
+       function __construct( $params = array() ) {
+               parent::__construct( $params );
        }
 
        /**