Changes between Initial Version and Version 1 of Ticket #20679, comment 3
- Timestamp:
- 05/15/12 08:48:34 (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20679, comment 3
initial v1 2 2 3 3 Post parameters when saving are: 4 4 {{{ 5 5 action save-widget 6 6 add_new … … 15 15 widget-width 250 16 16 widget_number 2 17 17 }}} 18 18 As you can see categoriesIds should be an array from the multiple select. 19 19 20 20 I am expecting to get from the update function an array containing both submitted values: 21 21 {{{ 22 22 public function update($new_instance, $old_instance) { 23 23 print_r($new_instance); 24 24 die(); 25 25 } 26 26 }}} 27 27 And it actually returns this: 28 28 Array ( [categoriesIds] => 8 )
