=== File Change Monitor ===
Contributors: oyagmur
Tags: security, file integrity, file change, wordpress monitor, malware detection
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Detects file changes in WordPress core, themes, and plugins. Sends email alerts to the site admin.

== Description ==
File Change Monitor is a lightweight WordPress plugin that detects file changes in your core, theme, and plugin directories, helping you monitor unauthorized modifications or malware injections.

== Features ==
* Scans critical WordPress directories (wp-admin, wp-includes, wp-content/themes, wp-content/plugins)
* Detects file additions, modifications, and deletions
* Sends alert via email to the admin email address
* Lightweight and fast
* No configuration required – install and activate

== Installation ==
1. Upload the plugin files to the /wp-content/plugins/file-change-monitor directory, or install it via the WordPress plugin repository.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. The plugin will automatically start monitoring file changes.

== Frequently Asked Questions ==
= Can I customize which folders are monitored? =
Currently, the plugin monitors core WordPress folders by default. Custom folder support will be added in a future release.

= How often does the plugin check for changes? =
The plugin checks on a scheduled interval and when the scan interval is due, so it does not scan on every page load.

= Can I receive alerts through Telegram or other services? =
The current version supports email alerts. Support for additional channels is planned.

== Changelog ==
= 1.0.4 =
* Added scheduled and throttled scanning to avoid site performance impact on every page load.
* Added activation hook to initialize baseline scanning state.
* Added cron support for regular automated scans.
* Improved file state comparison with safer metadata storage.

= 1.0.3 =
* Removed incorrect ZIP file structure from trunk and tags.
* Added clean file structure with proper plugin root files.

= 1.0.2 =
* Fixed: replaced hardcoded paths with WordPress functions.
* Log file moved to uploads directory using wp_upload_dir().
* Updated author name to "oyagmur".

== Upgrade Notice ==
= 1.0.4 =
This version reduces performance impact by only scanning files on a scheduled or due interval instead of every page load.

= 1.0.3 =
This version cleans up the previous incorrect ZIP structure and sets the correct plugin layout for WordPress.org distribution.

= 1.0.2 =
Complies with directory resolution and file handling guidelines. Updated for WordPress.org plugin team feedback.
