WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (10 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-diff.php

    r16660 r17771  
    6161
    6262    /**
    63      * PHP4 Constructor - Call parent constructor with params array.
     63     * Constructor - Call parent constructor with params array.
    6464     *
    6565     * This will set class properties based on the key value pairs in the array.
     
    6969     * @param array $params
    7070     */
    71     function Text_Diff_Renderer_Table( $params = array() ) {
     71    function __construct( $params = array() ) {
    7272        $parent = get_parent_class($this);
    7373        $this->$parent( $params );
Note: See TracChangeset for help on using the changeset viewer.