]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/widgets.php
WordPress 4.3.1
[autoinstalls/wordpress.git] / wp-includes / widgets.php
index 40de6c84a15f82fd747d4ff222d5504462a916ad..28daba1a62fcc5982ac6ba5c0f3c306972d565ae 100644 (file)
@@ -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 ];
 
                        /**