Changeset 24126 for trunk/wp-includes/widgets.php
- Timestamp:
- 04/29/2013 01:26:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r23554 r24126 74 74 * PHP4 constructor 75 75 */ 76 function WP_Widget( $id_base = false, $name, $widget_options = array(), $control_options = array() ) {76 function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) { 77 77 WP_Widget::__construct( $id_base, $name, $widget_options, $control_options ); 78 78 } … … 91 91 * - height: currently not used but may be needed in the future 92 92 */ 93 function __construct( $id_base = false, $name, $widget_options = array(), $control_options = array() ) {93 function __construct( $id_base, $name, $widget_options = array(), $control_options = array() ) { 94 94 $this->id_base = empty($id_base) ? preg_replace( '/(wp_)?widget_/', '', strtolower(get_class($this)) ) : strtolower($id_base); 95 95 $this->name = $name;
Note: See TracChangeset
for help on using the changeset viewer.