Make WordPress Core

Changeset 31684


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

Remove the PHP4 constructor from WP_Widget.

See #30799.

File:
1 edited

Legend:

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

    r31188 r31684  
    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 );
    177165    }
    178166
Note: See TracChangeset for help on using the changeset viewer.