| @@ -61,8 +61,13 @@ | ||
| 61 | 61 | ); |
| 62 | 62 | |
| 63 | 63 | $api = new Logtivity_Api(); |
| 64 | 64 | |
| 65 | + /** | |
| 66 | + * This request must not be cached. Like Logtivity_Api::makeRequest(), it writes | |
| 67 | + * to the API rather than reading a cacheable resource, and defaults to a | |
| 68 | + * non-blocking 0.01s timeout. | |
| 69 | + */ | |
| 65 | 70 | $this->response = wp_remote_request($api->getEndpoint($url), $this->request); |
| 66 | 71 | |
| 67 | 72 | $this->processResponse(); |
| 68 | 73 | } |