wp/wp-includes/class-wp-widget.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
   363 
   363 
   364 		$widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) );
   364 		$widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) );
   365 		$this->_set( $widget_args['number'] );
   365 		$this->_set( $widget_args['number'] );
   366 		$instances = $this->get_settings();
   366 		$instances = $this->get_settings();
   367 
   367 
   368 		if ( array_key_exists( $this->number, $instances ) ) {
   368 		if ( isset( $instances[ $this->number ] ) ) {
   369 			$instance = $instances[ $this->number ];
   369 			$instance = $instances[ $this->number ];
   370 
   370 
   371 			/**
   371 			/**
   372 			 * Filters the settings for a particular widget instance.
   372 			 * Filters the settings for a particular widget instance.
   373 			 *
   373 			 *