=== Pantry Cleanup ===
Contributors: pluginpantry
Tags: cleanup
Requires at least: 6.4
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Switch off the WordPress features you do not use.

== Description ==

A list of switches, each with one sentence saying exactly what it removes. Emoji scripts, embeds, XML-RPC, header links, user enumeration, author archives, comments, jQuery Migrate, revisions, heartbeat. Every switch is off by default and does one thing.

Pantry Cleanup is built to the Pantry Standard, a public document that fixes what every Plugin Pantry plugin may and may not do: https://thepluginpantry.com/standard

= What it does =

* Disable the emoji detection script and styles
* Disable oEmbed discovery and the wp-embed script
* Disable XML-RPC and remove its pingback header
* Remove RSD, WLW manifest, shortlink, generator and feed links from the head
* Block REST API user listing for visitors who are not logged in
* Disable author archives and remove author links
* Disable comments site-wide: close them, hide the menu and admin-bar items, remove comment feeds; existing comments are kept
* Disable self-pingbacks
* Disable jQuery Migrate on the front end
* Remove Dashicons on the front end for visitors who are not logged in
* Limit the number of post revisions and set the autosave interval
* Change the heartbeat interval or disable it on the dashboard

= What it does not do =

* No per-page script manager
* No caching or minification
* No database clean-up
* No image or font optimisation

== Pro add-on ==

A separate Pantry Pro add-on is planned. It will extend this plugin with:

* Per-page script and style manager
* Database clean-up with a dry run
* Local Google Fonts

Nothing in this free plugin is locked or limited. It is complete for its scope.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or install it from the Plugins screen.
2. Activate it.
3. Open Plugin Pantry > Cleanup and set it up.

== Frequently Asked Questions ==

= Does the free plugin expire or nag? =

No. It keeps working forever and never shows a sales notice.

= Does it send any data anywhere? =

Only what the feature itself requires, and that is listed on the plugin page.

= Where do I report a bug? =

https://thepluginpantry.com/support

== Changelog ==

= 1.0.0 (2026-09-12) =

* First release.
* Switch: disable the emoji detection script and styles.
* Switch: disable oEmbed discovery and the wp-embed script.
* Switch: disable XML-RPC and remove its pingback header.
* Switch: disable self-pingbacks.
* Switch: block the REST API user list for logged-out visitors.
* Switch: remove RSD, WLW manifest, shortlink, generator and feed links
* Switch: disable author archives and remove author links.
* Switch: disable comments site-wide while keeping existing comments.
* Switch: disable jQuery Migrate on the front end.
* Switch: remove Dashicons on the front end for logged-out visitors.
* Switch: limit the number of post revisions.
* Switch: set the autosave interval.
* Switch: set the Heartbeat interval.
* Switch: disable Heartbeat on the dashboard screen.
