Ticket #42773: 42773.0.diff
File 42773.0.diff, 615 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/includes/file.php
550 550 551 551 $result = null; 552 552 if ( false === $scrape_result_position ) { 553 if ( is_wp_error( $r ) ) { 554 // Attach cURL error message 555 $loopback_request_failure['message'] .= ' (' . $r->get_error_message() . ')'; 556 } 553 557 $result = $loopback_request_failure; 554 558 } else { 555 559 $error_output = substr( $body, $scrape_result_position + strlen( $needle_start ) );