~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-includes/wp-diff.php

  • Committer: Paul Collins
  • Date: 2011-07-13 02:31:10 UTC
  • Revision ID: paul.collins@canonical.com-20110713023110-rvp7cjj31rsaomkr
import Wordpress 3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        var $inline_diff_renderer = 'WP_Text_Diff_Renderer_inline';
61
61
 
62
62
        /**
63
 
         * PHP4 Constructor - Call parent constructor with params array.
 
63
         * Constructor - Call parent constructor with params array.
64
64
         *
65
65
         * This will set class properties based on the key value pairs in the array.
66
66
         *
68
68
         *
69
69
         * @param array $params
70
70
         */
71
 
        function Text_Diff_Renderer_Table( $params = array() ) {
72
 
                $parent = get_parent_class($this);
73
 
                $this->$parent( $params );
 
71
        function __construct( $params = array() ) {
 
72
                parent::__construct( $params );
74
73
        }
75
74
 
76
75
        /**