diff --git src/wp-includes/class-wp-customize-widgets.php src/wp-includes/class-wp-customize-widgets.php
index bf0d3ec..cfd0541 100644
|
|
|
final class WP_Customize_Widgets {
|
| 1380 | 1380 | |
| 1381 | 1381 | $updated_widget = $this->call_widget_update( $widget_id ); // => {instance,form} |
| 1382 | 1382 | if ( is_wp_error( $updated_widget ) ) { |
| 1383 | | wp_send_json_error( $updated_widget->get_error_message() ); |
| | 1383 | wp_send_json_error( $updated_widget->get_error_code() ); |
| 1384 | 1384 | } |
| 1385 | 1385 | |
| 1386 | 1386 | $form = $updated_widget['form']; |