| @@ -128,11 +128,9 @@ | ||
| 128 | 128 | return $data; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | public static function get_remote_kit_zip( $url, $file_name = 'kit.zip' ) { |
| 132 | - $remote_zip_request = wp_safe_remote_get( $url, [ | |
| 133 | - 'timeout' => 300, | |
| 134 | - ] ); | |
| 132 | + $remote_zip_request = wp_safe_remote_get( $url ); | |
| 135 | 133 | |
| 136 | 134 | if ( is_wp_error( $remote_zip_request ) ) { |
| 137 | 135 | Plugin::$instance->logger->get_logger()->error( $remote_zip_request->get_error_message() ); |
| 138 | 136 | throw new \Error( ImportExportCustomization_Module::CLOUD_KIT_LIBRARY_ERROR_LOADING_RESOURCE ); // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped |