=== Product Media Cleaner for WooCommerce ===
Contributors: marbwpdev
Tags: woocommerce, media, cleaner, product, optimize
Requires at least: 6.0
Tested up to: 6.8
Stable tag: 2.0.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Clean unused WooCommerce product media safely. Keep logs of deleted images and clear them whenever needed.

== Description ==

Product Media Cleaner for WooCommerce helps WooCommerce shops delete unused product gallery images and keep everything traceable. The plugin stores:
* product ID
* deleted image/file URL
* timestamp
* user who ran cleanup (if available)

You can also clear logs anytime from the admin panel.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/product-media-cleaner-for-woocommerce` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **WooCommerce → Product Media Cleaner** to run cleanup and see logs.

== Changelog ==
= 2.0.3 =
- Security: switched IN(...) lists to prepared placeholders
- Minor headers/readme sync for WP.org review


= 2.0.1 =
* First public release.
* Added deletion logs (product ID, URL, timestamp).
* Added Clear Logs button.
== Frequently Asked Questions ==
= Does it delete featured or gallery images still in use? =
No. It only targets media that are not referenced by products.

= Can I see what was deleted? =
Yes. The plugin keeps a deletion log (product ID, file URL, timestamp), and you can clear logs any time.

== Screenshots ==
1. Dashboard with queue, pause/run, and logs
2. Deletion logs table with timestamps
3. Settings panel (safety options)

== Upgrade Notice ==
= 2.0.1 =
Initial release.
