diff --git a/wp-includes/version.php b/wp-includes/version.php index d9c3626220..039fe1a431 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33695'; +$wp_version = '4.4-alpha-33696'; /** * 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 40de6c84a1..28daba1a62 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -316,7 +316,7 @@ class WP_Widget { $this->_set( $widget_args['number'] ); $instances = $this->get_settings(); - if ( isset( $instances[ $this->number ] ) ) { + if ( array_key_exists( $this->number, $instances ) ) { $instance = $instances[ $this->number ]; /**