]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/wp-diff.php
Wordpress 3.2-scripts
[autoinstalls/wordpress.git] / wp-includes / wp-diff.php
index 9e2d447403e51512a312c8937cebe240294ad4c9..ed36ee908ba403a1dba9c89ceac628e6a0ae25e4 100644 (file)
@@ -60,17 +60,16 @@ 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.
         *
-        * @since unknown
+        * @since 2.6.0
         *
         * @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 );
        }
 
        /**