Linux 软件免费装
Banner图

Milardovich File Modification Monitor

开发者 milardovich
更新时间 2026年9月1日 12:09
PHP版本: 8.3 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security themes plugins code changes file integrity

下载

1.0.0

详情介绍:

When someone edits a file directly inside wp-content/plugins/ or wp-content/themes/, those changes are silently lost the next time the plugin or theme is updated. Milardovich File Modification Monitor detects those modifications before they cost you. It downloads the original copy of each plugin and theme from the official WordPress.org repository, stores a baseline (a SHA-256 hash of every file), and compares the files on your site against that baseline. Any drift — modified, added or deleted files — is flagged in the admin, and you are warned before an update would overwrite your customizations. Key features Use cases This plugin connects to the WordPress.org Plugins and Themes APIs (api.wordpress.org) to download the original release files used as the comparison baseline.

安装:

  1. Upload the milardovich-file-modification-monitor folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to File Monitor in the admin menu and click Scan All Items to create your first baselines.
  4. Review detected changes from the Plugin Changes and Theme Changes screens, and adjust the scan frequency under File Monitor → Settings.

屏幕截图:

  • The Plugin Changes screen, listing each plugin's status and the actions available for it.
  • The diff viewer, showing exactly what changed and offering to keep the changes or restore the original files.
  • Settings: scan frequency, notifications, ignored file patterns and maintenance actions.
  • The Theme Changes screen with the diff viewer open on a modified theme.

升级注意事项:

1.0.0 Initial release.

常见问题:

Where do the baselines come from?

From the official WordPress.org Plugins and Themes APIs. The plugin downloads the original release ZIP that matches the installed version and stores a hash of each file. Comparing against the pristine source — rather than the files already on disk — is what makes unauthorized changes detectable.

Does it work with premium or custom plugins and themes?

Detection relies on the original being available on WordPress.org. For premium or custom items that are not hosted there, the plugin falls back to using the current files on disk as the baseline, so it can still detect changes made after the baseline was created.

Will it slow down my admin?

No. The comparison runs in a background WordPress cron event, not while a page is loading. Admin screens only read the stored result of the last scan, so they render immediately regardless of how many plugins you have.

Does it modify any of my files?

Only when you explicitly ask it to. By default the plugin only reads and compares files. If you choose Restore Original on a detected change, it writes the baseline copy back over those files on disk — overwriting your edits, recreating files you deleted and removing files you added. That action always asks for confirmation first and tells you how many files it will touch. Choosing Keep My Changes instead leaves every file untouched and simply records the current files as the new baseline.

Can I undo a restore?

No. Restoring overwrites the files on disk with the original version and cannot be reversed from within the plugin, so review the diff first and keep backups as you would for any file change.

What happens when I delete the plugin?

Its database tables, options and transients are removed automatically on uninstall, leaving no orphan data behind.

更新日志:

1.0.0