Ticket #51251: 51251.1.patch
File 51251.1.patch, 459 bytes (added by , 5 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index 85996d2676..16ce1093a4 100644
a b function wp_ajax_image_editor() { 2625 2625 wp_image_editor( $attachment_id, $msg ); 2626 2626 $html = ob_get_clean(); 2627 2627 2628 if ( $msg->error) {2628 if ( isset( $msg->error ) ) { 2629 2629 wp_send_json_error( 2630 2630 array( 2631 2631 'message' => $msg,