# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- W:\wp-includes\widgets.php +++ W:\wp-includes\widgets.php @@ -71,13 +71,6 @@ // Functions you'll need to call. /** - * PHP4 constructor - */ - function WP_Widget( $id_base = false, $name, $widget_options = array(), $control_options = array() ) { - WP_Widget::__construct( $id_base, $name, $widget_options, $control_options ); - } - - /** * PHP5 constructor * * @param string $id_base Optional Base ID for the widget, lower case, @@ -99,6 +92,14 @@ } /** + * PHP4 constructor + */ + function WP_Widget( $id_base = false, $name, $widget_options = array(), $control_options = array() ) { + _deprecated_function( __FUNCTION__, '3.3.3', 'new WP_Widget()' ); + WP_Widget::__construct( $id_base, $name, $widget_options, $control_options ); + } + + /** * Constructs name attributes for use in form() fields * * This function should be used in form() methods to create name attributes for fields to be saved by update()