=== Fae Herald ===
Contributors: Frederik Rosendahl-Kaa
Tags: status, security, monitoring, maintenance
Requires at least: 5.3
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.1.0
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Keep your WordPress site secure by monitoring plugin releases and spotting closed plugins.

== Description ==

Fae Herald helps you maintain a secure WordPress site by monitoring when your installed plugins were last updated and alerting you to potential security risks.

= Features =

**Last Version Release Monitoring**

* Shows exact date for plugins updated within 6 months, "X months ago" for 6-12 months
* Warning: not updated in over 1 year
* Critical: not updated in over 2 years

**Closed Plugin Detection**

* Detects closed/removed plugins from wordpress.org
* Shows closure reason, date, and full explanation

**Dashboard Widget**

Get an overview of plugin issues directly on your WordPress dashboard. Instantly see which plugins are closed or outdated, helping you prioritize what needs attention.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/fae-herald/`, or install through the WordPress plugins screen.
2. Activate the plugin - background checks will start automatically and information will appear on your Plugins page.

== Frequently Asked Questions ==

= Does this plugin slow down my site? =

No. Checks run in the background weekly via WordPress cron with 20-second intervals. Data displays from your database with minimal impact.

= Can I manually trigger a status update? =

Yes! Click "Refresh Status" on any plugin row for an immediate check, even if automatic checks are disabled.

= Does it work with plugins not on wordpress.org? =

No. Only plugins hosted on wordpress.org are monitored; others are automatically skipped.

= Can I ignore specific plugins from being checked? =

Yes! To ignore specific plugins (like WPML that may show false warnings), copy `assets/ignored-plugins.json` to `wp-content/themes/your-theme/fae-herald/ignored-plugins.json` and add the plugin slug with a reason. Ignored plugins display a gray notice.

= What do the different warnings mean? =

* **Blue Normal**: Latest version released within the past 6 months shows exact date, after 6 months to 12 months shows "X months ago"
* **Orange Warning**: Plugin not updated in over 1 year
* **Red Critical**: Plugin not updated in over 2 years or has been closed
* **Gray Notice**: Not so important information (e.g., non-wordpress.org plugins)

= How long does the initial scan take? =

With a 20-second interval between checks, a site with 20 plugins will complete in approximately 6-7 minutes. You can leave the page and continue working while checks run in the background.

**Note:** Timing may vary depending on your cron setup. WP-Cron (default) is triggered by site visits, while server-side cron runs on a schedule.


= Can I configure advanced settings via wp-config.php? =

Yes! Add these constants to wp-config.php:

* define( 'FAE_HERALD_CRON_INTERVAL', 604800 ) - Check frequency in seconds (default: 604800 = 1 week)
* define( 'FAE_HERALD_CRON_SPACING_DELAY', 60 ) - Delay between plugin checks in seconds (default: 60)
* define( 'FAE_HERALD_DISABLE_AUTOMATIC_CRON', true ) - Set to true to disable automatic checks
* define( 'FAE_HERALD_DELETE_DATA_ON_DEACTIVATE', true ) - Set to true to delete all data on deactivation

== Changelog ==

= 1.1.0 =
* Added: Dashboard widget showing closed and outdated plugins
* Added: Full WordPress Multisite/Network support
* Added: Network activation tracking for multisite installations
* Added: Separate data storage for API data (shared) and lifecycle data (per-site)
* Added: Automatic migration from v1.0 to v1.1 data structure
* Improved: Database architecture optimized for multisite environments
* Fixed: Plugin state tracking now works correctly across network-activated and site-specific plugins

= 1.0.0 =
* Initial release

== Privacy Policy ==

This plugin does not collect, store, or transmit any personal data. It only:
* Queries the public WordPress.org Plugin API for plugin information
* Stores Fae Herald data locally in your WordPress database
* Does not track users or send data to external services