=== 1-Click Disable All ===
Contributors: atakanau
Author link: https://en.programs.com.tr
Tags: admin, tool, security, maintenance, emergency
Tested up to: 6.9
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://buymeacoffee.com/atakanau

Quickly deactivate all active plugins with one click – ideal for troubleshooting plugin conflicts.

== Description ==

This lightweight tool adds a **"Deactivate all"** link to the Plugins page and a confirmation screen under **Tools → Disable All Plugins**.

Perfect for:
- Plugin conflict debugging
- Maintenance / emergency access recovery
- When a bad plugin locks you out of wp-admin

**Important Warning:** Deactivation is immediate. There is no "Reactivate All" button, so you must turn your plugins back on individually. Keep FTP access handy in case reactivating a plugin causes a fatal error.

Visit my blog for details, support and feedback:  
[1-Click Disable All Plugin](https://atakanau.blogspot.com/2021/06/one-click-disable-all-plugins-wp-plugin.html?utm_source=wp_org&utm_medium=readme&utm_campaign=first-graders-toolbox&utm_content=description_link)

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install via Plugins → Add New.
2. Activate through the Plugins screen.

= Usage =

- Plugins screen: Click red **"Deactivate all"** link (with JS confirm).
- Or go to **Tools → Disable All Plugins** for full confirmation page.

== Frequently Asked Questions ==

= Is it safe? =
Yes; uses nonces, capability checks (`manage_options`), and POST-only for the action. No data deletion occurs.

= What if I lose access after disabling? =
Reactivate plugins manually via FTP by renaming the plugins folder temporarily (classic recovery method).

== Screenshots ==

1. "Deactivate all" link appears on the Plugins listing page (red text for visibility) and confirmation screen under Tools → Disable All Plugins.

== Changelog ==

= 1.0.4 =
* Tested up to:
  * `6.9`
* Bumped PHP requirement to:
  * `8.0`
* Minor text improvements and readme cleanup
* Forward compatibility prep for upcoming WP 7.0 (no breaking changes expected)

= 1.0.3 =
* Added security check
* Tested up to:
  * `6.8`

= 1.0.2 =
* Added security check
* Tested up to:
  * `6.4.3`

= 1.0.1 =
* Changed filename and function names
* Tested up to:
  * `6.3.1`

= 1.0.0 =
* Initial version released