From a685aa66707f344b75df560602f4fe0156102a4f Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 9 Mar 2015 02:36:26 +0000 Subject: [PATCH] [31684] has BC issues, revert it. Props nacin. See #30799. Built from https://develop.svn.wordpress.org/trunk@31685 git-svn-id: http://core.svn.wordpress.org/trunk@31666 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets.php | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 610c9e16c6..3d88ee83c1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31684'; +$wp_version = '4.2-alpha-31685'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index d1ad6baaa5..40bf54c528 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -164,6 +164,18 @@ class WP_Widget { $this->control_options = wp_parse_args( $control_options, array('id_base' => $this->id_base) ); } + /** + * PHP4 constructor + * + * @param string $id_base + * @param string $name + * @param array $widget_options + * @param array $control_options + */ + public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) { + WP_Widget::__construct( $id_base, $name, $widget_options, $control_options ); + } + /** * Constructs name attributes for use in form() fields *