Make WordPress Core

Changeset 31685


Ignore:
Timestamp:
03/09/2015 02:35:36 AM (10 years ago)
Author:
wonderboymusic
Message:

[31684] has BC issues, revert it.

Props nacin.
See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r31684 r31685  
    163163        $this->widget_options = wp_parse_args( $widget_options, array('classname' => $this->option_name) );
    164164        $this->control_options = wp_parse_args( $control_options, array('id_base' => $this->id_base) );
     165    }
     166
     167    /**
     168     * PHP4 constructor
     169     *
     170     * @param string $id_base
     171     * @param string $name
     172     * @param array  $widget_options
     173     * @param array  $control_options
     174     */
     175    public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) {
     176        WP_Widget::__construct( $id_base, $name, $widget_options, $control_options );
    165177    }
    166178
Note: See TracChangeset for help on using the changeset viewer.