=== WP Settings & Health Dashboard ===
Contributors: codecompiled
Tags: autoload, database, site health, speed, system info
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.12.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Diagnose WordPress autoload bloat, database tables, server settings, and plugin impact with a lightweight, developer-focused health dashboard.

== Description ==

**WP Settings & Health Dashboard** helps you identify what may be slowing down your WordPress site by exposing hidden database and configuration issues.

It highlights large database tables, analyzes autoloaded options (data loaded on every request), and provides key insights into WordPress settings, plugins, and server environment.

Built for developers and site admins, the plugin also allows you to generate clean, SQL-compatible database backup scripts for safekeeping or migration.

== Features ==

* **Autoload Intelligence:** Detect large always-loaded options that can slow every page request.
* **Database Diagnostics:** Identify large tables and potential database bloat.
* **SQL Backups:** Generate clean, SQL-compatible backup scripts for migration or security.
* **Server Insights:** Monitor environment details including PHP version and memory limits.
* **Plugin Overview:** View active and inactive plugins quickly.

== Installation ==

1. Search for "WP Settings" via **Plugins > Add New** in your dashboard.
2. Alternatively, upload the `wp-settings` folder to the `/wp-content/plugins/` directory.
3. Activate the plugin through the 'Plugins' menu.
4. Access the dashboard via the **WP Settings** menu in your sidebar.

== Screenshots ==

1. Investigation Dashboard showing site-wide findings and evidence.
2. Plugin Impact showing likely autoload and database contributors.
3. Site Baseline & Change Intelligence showing meaningful changes and baseline history.
4. Autoload Intelligence showing always-loaded options and total autoload size.

== Changelog ==

= 2.12.3 =
* Centralized the Investigation Dashboard on the Dashboard tab and added contextual navigation from Database Insights.
* Updated WordPress.org screenshots to reflect the current dashboard, Plugin Impact, Baseline Intelligence, and Autoload Intelligence views.

= 2.12.2 =
* Added safer baseline replacement confirmation.
* Added reversible previous-baseline restore.
* Added lightweight baseline history showing current and previous baseline timestamps.
* Improved baseline state handling and safety around replacement and restore actions.

= 2.12.1 =
* Fixed WordPress.org metadata and readme formatting.

= 2.12.0 =
* Added the Plugin Impact / Ownership View to connect plugins with likely autoload and database footprints.
* Added evidence and confidence indicators to make attribution clear and appropriately cautious.
* Improved the dashboard UI with prioritized impact cards, expandable evidence, and links to existing details.

= 2.11.0 =
* Added the Investigation Dashboard to summarize important findings with severity, evidence, and recommended next steps.

= 2.10.0 =
* Added Autoload Optimization Recommendations for reviewing large always-loaded options.
* Improved the Autoload Intelligence UI with advisory severity labels and expandable explanations.
* Kept the existing autoload diagnostics and SQL export workflow fully intact.

= 2.9.0 =
* Added Autoload Intelligence (detect always-loaded data)
* Highlighted top database tables
* Improved database insights UI

= 2.8.2 =
* Feature: Added a real-time Database Table Size Audit tool.
* Feature: Introduced a precision filter dropdown for table sizes (ranging from 0.1 MB to 100 MB).
* Improvement: Optimized UI with a dedicated "Database Tools" tab for better workspace management.
* Fix: Improved PHP 8.1+ compatibility for SQL export headers.
* Fix: Resolved a minor CSS conflict in the admin dashboard cards.

= 2.5.9 =
* Optimized plugin metadata and SEO tags for better search visibility.
* Fixed typos in the description and improved documentation.
* Verified compatibility with WordPress 6.7.