humanmade / aws-rekognition

A lightweight plugin to add keywords to WordPress image uploads via automatic feature detection. Requires S3 Uploads.
57 stars 6 forks source link

Constant FILTER_SANITIZE_STRING is deprecated #29

Closed johnbillion closed 1 month ago

johnbillion commented 8 months ago

With PHP >= 8.1 there's a deprecated warning showing up in the X-ray logs:

Constant FILTER_SANITIZE_STRING is deprecated
/usr/src/app/vendor/humanmade/aws-rekognition/inc/admin/namespace.php:22

The request is to admin-ajax.php for the query-attachments action.