diff --git a/inc/class-infinite-uploads-api-handler.php b/inc/class-infinite-uploads-api-handler.php index be89493..97aaab2 100644 --- a/inc/class-infinite-uploads-api-handler.php +++ b/inc/class-infinite-uploads-api-handler.php @@ -273,7 +273,7 @@ public function call( $remote_path, $data = [], $method = 'GET', $options = [] ) } if ( 200 != wp_remote_retrieve_response_code( $response ) ) { - if ( empty( $options['blocking'] ) ) { + if ( ! isset( $options['blocking'] ) || false !== $options['blocking'] ) { $this->parse_api_error( $response ); }