=== Auto WebP Upload ===
Contributors: custom
Requires at least: 6.0
Requires PHP: 7.4
Stable tag: 1.3.1
License: GPLv2 or later

Automatically converts uploaded JPG/JPEG/PNG images to WebP and removes the source only after successful conversion.

== Features ==
* Automatic JPG/JPEG and PNG to WebP conversion on upload.
* Configurable WebP quality.
* Optional maximum width and height.
* Existing Media Library bulk conversion in AJAX batches.
* Rebuilds WordPress image sizes as WebP.
* Optionally replaces old JPG/PNG URLs in standard WordPress content/meta/options tables.
* Handles serialized metadata safely through WordPress serialization helpers.
* Dry Run analysis before conversion: counts convertible/problem attachments, source disk usage, old derivative files and URL references without modifying files or the database.
* GIF files are not converted.

== Upgrade Notice ==
= 1.3.1 =
Adds a read-only Dry Run / Media Library analysis tool before destructive bulk conversion.

== Important ==
Create a backup of the database and wp-content/uploads before bulk conversion. Custom plugin tables are not scanned or changed.


= 1.3.1 =
* Stability update: one image per conversion request.
* Handles non-JSON/HTML HTTP errors without stopping the whole run.
* Retries failed conversions twice, then skips the attachment and continues.
* Client-side cursor prevents a fatal PHP/timeout response from blocking the queue.
* Logs HTTP status and response preview for diagnostics.
