=== OliveroDev Media Audit ===
Contributors: oliverodev, alexis-olivero
Tags: media cleaner, unused images, optimize storage, media library, elementor
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 3.2.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Clean your WordPress media library, detect unused files with smart scanning, and optimize storage with a fast, intuitive workflow.

== Description ==

OliveroDev Media Audit helps you identify what is really used in your Media Library and what can be safely cleaned.

The plugin includes an intelligent detection engine that scans core content references and media usage patterns to reduce false positives and help you recover disk space confidently.

**What is included (FREE):**

* Smart scanning of media references in posts, pages, and widgets.
* Media analysis dashboard showing used vs unused files.
* Estimated storage savings display.
* Cleanup workflow for deleting unused attachments.
* Batch scanning with configurable settings.
* Cron-based automatic scanning for ongoing maintenance.
* Works with images (JPEG, PNG, GIF, WebP, SVG).

**Need more? Upgrade to PRO for:**

* Deep Detection Engine (ACF, Divi, Elementor, WooCommerce)
* Storage Analysis with visual charts (MB/GB breakdown)
* Support for Documents (PDF, DOC), Videos, Audio, Archives
* Intelligent Trash System (move files before permanent delete)
* One-Click Instant Bulk Cleanup
* Professional UI with advanced animations

[Learn more about PRO](https://oliverodev.com/media-audit-pro/)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/oliverodev-media-audit` directory.
2. Activate the plugin from the **Plugins** screen in WordPress.
3. Open **OliveroDev Media Audit** from the admin menu.
4. Start a new scan and review used/unused files.
5. Review and delete unused files as needed.

== Frequently Asked Questions ==

= Is it safe to use on production sites? =
Yes. The plugin is built to minimize false positives and provides a controlled cleanup flow.

= Where can I find it in wp-admin? =
Go to **Tools → OliveroDev Media Audit**.

= What file types are supported? =
Images (JPEG, PNG, GIF, WebP, SVG). PRO version includes support for documents, videos, and audio files.

= What scanners are supported? =
Posts, pages, custom posts, widgets, and theme options. PRO version includes ACF, Divi, and Elementor.

== Screenshots ==

1. Dashboard with used vs unused media overview.
2. Library analysis table with status and actions.
3. Unused files cleanup workflow.

== Changelog ==

= 3.2.5 =
* Hide the "Get PRO" banner when PRO is already active via license integration.

= 3.2.4 =
* Maintenance release for WordPress.org package compliance and metadata alignment.

= 3.2.3 =
* Fixed PRO upgrade link to Freemius checkout

= 3.2.2 =
* NEW: Integrated PRO upgrade banner with animation
* Added link to upgrade to PRO version in dashboard

= 3.2.1 =
* Improved WordPress.org submission compatibility and plugin metadata.
* Removed admin upsell UI to keep the settings screen focused.
* Added plugin text domain loading and refreshed compatibility metadata.

= 3.2.0 =
* Refactored architecture and improved scanning workflow.
* Updated metadata for current release and compatibility.
