WordPress.org

Make WordPress Core

Ticket #30482: 30482.diff

File 30482.diff, 620 bytes (added by jazzs3quence, 7 years ago)
  • wp-includes/widgets.php

     
    108108        }
    109109
    110110        /**
    111          * PHP4 constructor
    112          */
    113         public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) {
    114                 WP_Widget::__construct( $id_base, $name, $widget_options, $control_options );
    115         }
    116 
    117         /**
    118111         * Constructs name attributes for use in form() fields
    119112         *
    120113         * This function should be used in form() methods to create name attributes for fields to be saved by update()