Ticket #40939: 40939.diff
File 40939.diff, 724 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/includes/class-wp-community-events.php
107 107 } elseif ( 200 !== $response_code ) { 108 108 $response_error = new WP_Error( 109 109 'api-error', 110 /* translators: % sis a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */110 /* translators: %d is a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */ 111 111 sprintf( __( 'Invalid API response code (%d)' ), $response_code ) 112 112 ); 113 113 } elseif ( ! isset( $response_body['location'], $response_body['events'] ) ) {