File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -701,14 +701,9 @@ var WidgetCustomizer = (function ($) {
701701control . container . addClass ( 'previewer-loading' ) ;
702702control . container . find ( '.widget-content' ) . prop ( 'disabled' , true ) ;
703703
704- var parsed_widget_id = parse_widget_id ( control . params . widget_id ) ;
705704var params = { } ;
706705params . action = self . update_widget_ajax_action ;
707706params [ self . update_widget_nonce_post_key ] = self . update_widget_nonce_value ;
708- params [ 'widget-id' ] = control . params . widget_id ;
709- params . id_base = parsed_widget_id . id_base ;
710- params . widget_number = parsed_widget_id . number || '' ;
711- // @todo widget-width and widget-height?
712707
713708var data = $ . param ( params ) ;
714709
@@ -717,6 +712,7 @@ var WidgetCustomizer = (function ($) {
717712} else {
718713data += '&' + control . container . find ( '.widget-content' ) . find ( ':input' ) . serialize ( ) ;
719714}
715+ data += '&' + control . container . find ( '.widget-content ~ :input' ) . serialize ( ) ;
720716
721717var jqxhr = $ . post ( wp . ajax . settings . url , data , function ( r ) {
722718if ( r . success ) {
You can’t perform that action at this time.
0 commit comments