Changeset 47122 for trunk/src/wp-includes/class-wp-widget.php
- Timestamp:
- 01/29/2020 12:43:23 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-widget.php
r46739 r47122 400 400 $all_instances = $this->get_settings(); 401 401 402 // We need to update the data 402 // We need to update the data. 403 403 if ( $this->updated ) { 404 404 return; … … 406 406 407 407 if ( isset( $_POST['delete_widget'] ) && $_POST['delete_widget'] ) { 408 // Delete the settings for this instance of the widget 408 // Delete the settings for this instance of the widget. 409 409 if ( isset( $_POST['the-widget-id'] ) ) { 410 410 $del_id = $_POST['the-widget-id']; … … 465 465 } 466 466 467 break; // run only once467 break; // Run only once. 468 468 } 469 469 } … … 495 495 496 496 if ( -1 == $widget_args['number'] ) { 497 // We echo out a form where 'number' can be set later 497 // We echo out a form where 'number' can be set later. 498 498 $this->_set( '__i__' ); 499 499 $instance = array();
Note: See TracChangeset
for help on using the changeset viewer.