Ticket #37531: 37531.4.diff
File 37531.4.diff, 545 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
3601 3601 $status['debug'] = $upgrader->skin->get_upgrade_messages(); 3602 3602 } 3603 3603 3604 if ( is_wp_error( $upgrader->skin->result ) ) { 3605 $result = $upgrader->skin->result; 3606 } 3607 3604 3608 if ( is_wp_error( $result ) ) { 3605 3609 $status['errorMessage'] = $result->get_error_message(); 3606 3610 wp_send_json_error( $status );