=== WP Core Version Guard ===
Contributors: site-operations
Tags: wordpress core, updates, downgrade, mainwp
Requires at least: 5.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Blocks major WordPress core updates and runs a WordPress 7.x to 6.9.4 downgrade during activation.

== Description ==

WP Core Version Guard is designed for fleet deployment through MainWP.

When activated, it:

* disables major automatic WordPress core updates;
* removes major core update offers from the normal WordPress update transient;
* allows same-branch minor/security updates to remain visible;
* immediately attempts to downgrade WordPress 7.x sites to WordPress 6.9.4 during plugin activation.

The downgrade uses the built-in WordPress Core_Upgrader with the official package:

https://wordpress.org/wordpress-6.9.4.zip

Important: always back up each site before deploying a core downgrade at scale. Downgrades can fail when file permissions, disk space, security rules, or hosting restrictions prevent WordPress from replacing core files.

== Installation ==

1. Upload the plugin zip through WordPress or MainWP.
2. Activate it on the child sites.
3. Sites currently running WordPress 7.x will attempt the downgrade immediately during activation.

== Notes ==

This plugin does not disable plugin, theme, translation, or minor WordPress core updates.

This plugin cannot block updates performed outside WordPress, such as hosting-provider forced updates, server scripts, Composer deployments, or WP-CLI commands run with enough permissions.

This plugin does not use WP-Cron.
