=== 404ops Site Options ===
Contributors: spwhite
Tags: security, performance, admin, database, options
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 2.9.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Security hardening, performance tuning, admin tidy-up, database cleanup, and an options-table manager with dry runs and undo.

== Description ==

404ops Site Options brings several common site-settings jobs together on one **404ops > Site Options** screen. Every setting is opt-in: nothing is hardened, optimized or restricted until you check a box and save.

**Security hardening**

* Disable the file editor, the XML-RPC interface and its pingback header, and the X-Powered-By header.
* Hide the WordPress version from the generator tag and feeds.
* Restrict the REST API to logged-in users.
* Limit failed login attempts per IP address and per username, with escalating lockouts. Login via the form, XML-RPC and application passwords is covered.
* A custom login URL, with a recovery key.
* IP allow and block lists, with IPv4, IPv6 and CIDR ranges.
* Two-factor authentication with an authenticator app, role requirements and a grace period.
* Passkeys, with optional passwordless sign-in.

**Performance**

* Disable emoji scripts, oEmbed discovery and Dashicons on the front end.
* Limit post revisions, set the autosave interval, and remove query strings from static assets.
* Hold back the Heartbeat API, and set its interval.

**Admin customisation**

* Custom admin footer text, and a custom login-page logo and title.
* A forced admin colour scheme.
* Hide admin menu entries, admin bar items and dashboard widgets. This is cosmetic: capabilities do not change.

**Options manager and database maintenance**

* Browse the options table: size, autoload and a guessed owner per option. Protected core options are view-only and secrets are never shown.
* An autoload-bloat analyzer measured like Site Health, and an orphan finder that suggests, never deletes.
* Every change and cleanup shows a dry run first; edits, deletes, and spam and tag cleanups save an undo snapshot first.
* Clean spam, orphaned meta, expired transients and unused tags, and optimise tables, by button or schedule.
* Read-only WordPress Abilities, plus two guarded, undoable ones.

**Settings export and import, and multisite**

* Export this plugin's settings to JSON, and import them on another site with a preview of the changes.
* A network-admin screen captures a baseline, shows which sites deviate, and pushes it to selected sites. Each site keeps control of its own settings.

The External services section describes the optional requests the plugin can make.

== Installation ==

1. Upload the plugin through `Plugins > Add New > Upload Plugin`, or copy it to `wp-content/plugins/`.
2. Activate 404ops Site Options through the `Plugins` screen.
3. Go to **404ops → Site Options** and enable the modules/features you want on each tab.

== Frequently Asked Questions ==

= Where can I get help? =
Visit https://supportminer.404ops.com to open a support request.

= Does activating this plugin change anything on my site immediately? =
No. Every feature in every module is off by default. Nothing is hardened, optimized, or restricted until you check a box and save.

= Can I edit arbitrary WordPress options with this plugin? =
Yes, carefully, on the Options Manager tab. You can edit an option's stored value, delete it, or turn its autoloading on or off. Each change shows a dry run first: the exact value before and after, the size change and the autoload change. Nothing is written until you press Apply. The previous value and autoload setting are then saved as an undo snapshot, restorable from Undo snapshots. The newest 50 are kept, for up to 30 days. A change too large to snapshot is refused rather than made without undo.

Some things it will not do. Core options that keep the site running are view-only: site addresses, active plugins and theme, user roles, cron, rewrite rules, keys and salts, and the registration settings. So is every option of this plugin, because its own tabs validate them. Other core options can be edited but not deleted. Values that look secret are never displayed or edited. Serialized PHP data is shown decoded with objects never created, and an edit must stay valid. If someone else changed the option after your preview, Apply refuses. Writes go straight to the database, like a database editor, so other plugins' "option updated" hooks do not run.

= Can I copy my settings to another site? =
Yes — the Tools tab exports this plugin's settings as a JSON file you can import on any other site running this plugin. An import is treated as untrusted input: only settings this plugin itself registers are accepted (a file cannot write unknown options — including legacy rows left behind by the removed uploads/email modules, such as an old SMTP password, which are refused as unrecognized keys), and every value must pass the same validation the settings screen applies. You see a preview of exactly which settings would change, to what, before anything is written; applying skips values that already match and never deletes or touches settings that are not in the file. The export itself never contains a secret: none of the plugin's current settings are credentials, and the export list is fixed to the plugin's own settings.

= How does multisite work? =
On multisite, a 404ops Site Options screen appears under Network Settings. The network admin saves a baseline — captured from any site's current settings, or uploaded from an export file — and can push it to all or selected sites, and the screen shows which sites deviate from the baseline and on which settings. This is per-site override, not a lock: pushing copies the baseline values into each site's own options (the same non-destructive write path an import uses), and every site administrator keeps full control of their own settings screen. Deviation compares stored values: a setting covered by the baseline counts as deviating on a site that has never saved it, and a setting the baseline does not cover is never compared or pushed. Pushing to every site runs in a single request, so on very large networks push to selections instead.

= Is the database cleanup safe? =
Every cleanup starts with a Preview: how many rows it would remove, a sample, and whether it can be undone. Spam comments and unused tags are saved to an undo snapshot before each one is deleted, and can be put back under their original IDs. Expired transients (caches that get rebuilt), orphaned metadata (of posts or comments that no longer exist) and table optimization (deletes nothing) have no undo. Keep database backups regardless.

= How sure is the orphan finder? =
It guesses. WordPress does not record which plugin created an option, so it compares option names with what is installed. Each candidate gets high, medium or low confidence. Nothing is deleted automatically: open the option and preview its deletion.

= What does "Run cleanup automatically" do? =
Nothing, until you turn it on. The Database tab's Scheduled Cleanup section lets you run the same cleanup actions as the buttons above, daily or weekly, without visiting the screen yourself. It is off by default, every category is unchecked by default, and only a category you explicitly tick is ever touched by the schedule — a category you never select is never run automatically, no matter how large its backlog grows. Each scheduled run is bounded by the same time budget as a manual click; a run that runs out of time before finishing every selected category simply picks up where it left off next time, and the Database tab shows a short history of recent scheduled runs (when, what was cleaned, and whether a run stopped early). Turning the setting off, deactivating the plugin, or deleting it all stop the schedule. Scheduled runs take no undo snapshots (so they cannot crowd out the undo points of changes you made by hand); run the spam and tag cleanups by hand when you want them undoable.

= What happens to two-factor data when the plugin is deleted on multisite? =

WordPress shares the Site Options plugin files and the two-factor records across a multisite installation. Use the [Site Options multisite removal tool](https://404ops.com/downloads/tools/404ops-wp-options/2.9.1/404ops-site-options-multisite-removal-2.9.1.zip) with your host administrator. Follow the tool’s instructions to back up the installation, deactivate Site Options across all sites and networks, and coordinate removal while WordPress is offline. The normal WordPress deletion screen refuses multisite removal and directs you to the tool.

The tool respects each site's data-removal choice for site settings and keeps shared authenticator enrollment, passkeys, and related account security records for future use. Site Options login protection ends when the plugin is removed.

= How do I enable logging? =
Set `define( 'WP_DEBUG', true );` in `wp-config.php`. New diagnostic writes go to `404ops-site-options-logs/` below the current site's WordPress uploads base directory. The public `cse_wp_options_log()` function and log filename remain unchanged; path helpers resolve the current site at each call. Activation with debug off creates no log directory. Old plugin-folder `logs/` files are not moved, read, or deleted during activation or updates; review and relocate any needed old logs yourself. Explicit uninstall retains its old-path cleanup and removes only this site's known new diagnostic files, preserving unrelated files. The runtime `.htaccess` rules depend on Apache support and `AllowOverride`; they do not protect nginx by themselves, so verify your server denies direct access before enabling debug logs.

On uninstall, the current `cse-wp-options.log` and files named exactly like logger rotations (`cse-wp-options-YYYY-MM-DD-HHMMSS.log` with a valid timestamp) are removed even when settings are retained. The access guard stays in place whenever other files remain in the runtime directory. Reserve logger-rotation filenames for diagnostic logs.

= What is "Explain the impact on this site (AI)", and what does it send? =
An on-demand, advisory note beside the highest-stakes settings (Restrict REST API, Disable XML-RPC, Disable File Editing, Disable Embeds, Disable Dashicons on Frontend, Heartbeat API, Limit Post Revisions). Clicking it asks an AI model — through the 404ops suite's shared BYOK AI Connection screen, never a built-in key — for one paragraph on what saving that setting would do to THIS site, judged by the plugins and theme you actually run. The request carries only: the setting's name and option key, a one-line summary of what it does, its current value, the value you are about to save, the folder slugs of your active plugins, and your active theme's slug. Nothing else — no other settings, no content, no user data. The note never blocks or changes the save; the setting's normal static warning always stays. No provider connected, or the model call fails? The button says so plainly and links the shared AI Connection screen; the static warning applies either way. Nothing is sent unless you click the button.

= How do I block readme.html / license.txt and turn off directory listings? =
In your web server configuration — no plugin can do it, including this one. When a browser asks for a file or directory that exists on disk, the web server answers from disk and never starts WordPress, so plugin code is never reached. Versions up to 2.0.2 offered these as checkboxes; they could not work, and were removed rather than left to give false reassurance.

For Apache, add this to the `.htaccess` file in your site root, outside the `# BEGIN WordPress` block:

`Options -Indexes`

`<FilesMatch "^(readme\.html|license\.txt|licence\.txt|wp-config-sample\.php)$">`
`    Require all denied`
`</FilesMatch>`

For nginx, add this inside your site's `server` block and reload nginx:

`autoindex off;`

`location ~* ^/(readme\.html|license\.txt|licence\.txt|wp-config-sample\.php)$ {`
`    deny all;`
`}`

On managed hosting you may not be able to edit either file — ask your host to apply the equivalent. Both steps remove a version fingerprint; neither patches anything, so keeping WordPress updated matters more than hiding these files.

= What happened to Upload Settings and Email/SMTP? =
They were removed as separate modules — see "Upload and email management have moved" above. Your previous settings are still in the database (this plugin's uninstaller only deletes them if you explicitly opt in via the Database tab), but they are no longer read or enforced by this plugin. Install 404ops Upload Settings and/or 404ops Mail Relay if you want the equivalent protection back; the settings screen will point you to whichever one applies.

= What does "Limit failed login attempts" do? =
Nothing, until you turn it on — off by default, on the Security tab. Once enabled, two independent counters run: one per client IP address, one per attempted username, each with its own threshold (3–20 attempts, default 5) and its own counting window (1 minute to 24 hours; until you set them, the username threshold follows the address one and both windows follow the lockout duration). Whichever counter crosses its threshold first locks its key for a configurable base duration (5 minutes to 24 hours, default 15 minutes); the next attempt gets one generic "too many failed attempts" message whether or not the password it sends is actually correct, whether or not the username exists, and without revealing whether it was the address or the account that tripped. Each consecutive lockout for the same key doubles the duration (15, 30, 60 minutes…), capped at 24 hours; a successful login clears both of that login's counters, escalation memory included. Failures arriving while a lock is active are deliberately not counted — hammering an active lock cannot push it forward and turn a capped lockout into a permanent ban.

Three login channels are covered by the same counters and the same locks: the login form, XML-RPC (`wp.getUsersBlogs` and friends), and REST API requests authenticated with an application password (HTTP Basic auth) — the last one is easy to miss, because WordPress checks REST application passwords without running the login form's hooks. A locked REST request gets the same generic message with HTTP status 429. An account's email address and its username count as one counter. IPv6 visitors are counted per /64 network — the smallest block a single site is given — because anyone holding a /64 can use a fresh address for every attempt.

Counting by username is a deliberate trade-off (the same one established login-limiters make): it stops an attacker spraying one account from many addresses, at the price that an attacker CAN lock a known username for everyone until the lock expires. Three things keep that price bounded: lockouts escalate to a 24-hour cap rather than forever, the IP allowlist below always bypasses both counters, and the "Current Lockouts" table on the Security tab lists both kinds of row — IP addresses and usernames, with failure counts and expiry — with an "Unlock" button per row and a "Clear All" button, both requiring the `manage_options` capability and a valid nonce. A "Recent Login Attempts" table under it shows the last 100 failed, refused or blocked attempts (address, username, channel, outcome). You can optionally have the site administrator emailed whenever a new lockout happens (off by default).

Storage is bounded even under heavy traffic. The counters live in a dedicated table capped at 10,000 rows and the recent-attempts log keeps at most 500 rows. Lockout History keeps up to 500 separate summaries for up to a week, starting with new lockouts after the upgrade. It shows the scheduled expiry, duration, triggering channel, recorded refusals and any early unlock the plugin observed. Security Hardening also includes a protection test that checks the saved thresholds using temporary database storage without making real login requests. Opt-in emails group related locks and send at most once every 15 minutes per site.

The allow/block lists underneath count on the same tab: one IP address or CIDR range per line (IPv4 and IPv6). An allowlisted address is never locked out and never blocked — if it appears on both lists, the allowlist wins. A blocklisted address is refused the login page with a 403, and only the login page: the front end, the REST API and XML-RPC are never affected.

= My site is behind Cloudflare / a load balancer. Which address is counted? =

Open **Client IP Address Source** on the Security Hardening tab to see the address WordPress receives and the address the limiter counts for your current request. For Cloudflare, choose **Check Cloudflare setup**, then **Save checked Cloudflare settings** if the live request verifies. Saving the preset updates only the trusted header and proxy ranges. The check requests the [public IPv4 and IPv6 proxy lists](https://www.cloudflare.com/ips/) from Cloudflare over HTTPS. It does not include visitor addresses, site settings or credentials in those requests. Other proxies can use the manual fields below.
By default, only `$_SERVER['REMOTE_ADDR']` — the address of the connection itself, which a visitor cannot fake. Request headers like `X-Forwarded-For` are something any visitor can set to whatever they like, so trusting one by default would let an attacker either dodge every lockout (a different fake address each attempt) or lock out an innocent visitor by sending their address.

Behind a proxy, every visitor arrives from the proxy's address, so set both fields under "Client IP Address Source" on the Security tab: the header your proxy sets (X-Forwarded-For, CF-Connecting-IP, or X-Real-IP) and the proxy addresses allowed to send it (for Cloudflare, its published IP ranges). The header is used only for requests that actually come from a listed proxy; anything else is keyed on its own connection address. For X-Forwarded-For, the address used is the rightmost one that is not itself a listed proxy, so values a client adds to the front of the header are ignored.

One thing no plugin can see: your web server may already rewrite `REMOTE_ADDR` from `X-Forwarded-For` before WordPress runs (Apache's mod_remoteip, nginx's real_ip module). The official WordPress Docker image, for example, trusts that header from every private address range — fine behind a proxy you run, but if such a container is exposed directly, visitors can set their own address. Make sure your server trusts the header only from your own proxies.

For setups those settings do not fit, the `cse_wp_options_login_client_ip` filter still receives the resolved address last. Only return a value that comes from infrastructure you control — a filter that returns a raw request header defeats the whole feature.

= I locked myself out. How do I unlock my own IP address or username? =
From another device or network, sign in as an administrator and use the "Unlock" button on the right row of the Security tab's "Current Lockouts" table (rows are either IP addresses, IPv6 /64 networks, or usernames), or "Clear All" to remove every lockout. If you cannot sign in at all, add `define( 'CSE_WP_OPTIONS_DISABLE_LOGIN_LIMITING', true );` to wp-config.php: it switches off counting, lockouts and the login-page blocklist whatever is saved (the Security tab says so while it is set), so you can sign in and fix the settings — then remove the line. A direct database edit also works: delete your row from the `{prefix}cse_wp_options_login_attempts` table (for example `DELETE FROM wp_cse_wp_options_login_attempts WHERE key_type = 'ip' AND key_value = 'your.ip.address.here';`, adjusting the table prefix to match your site). This plugin does not currently add its own WP-CLI commands.

= What does the custom login URL do, and what happens to wp-login.php? =
When enabled (with a slug you choose), the login form is served at `https://your-site.example/YOUR-SLUG` and every login-related URL WordPress generates — the login form's own action, logout links, registration, lost-password, the reset link inside password emails, password-protected-post forms — points at that slug instead of wp-login.php. Requests for `wp-login.php` itself answer 404. A 404 rather than a redirect is deliberate: a redirect would confirm to every probing bot that a hidden login URL exists and hand it over for free; a 404 looks like any other missing page. The core flows whose URLs could predate the rename (password-reset emails already sent, cached logout links and password forms) still work on wp-login.php by action; XML-RPC and the REST API never touch wp-login.php and are unaffected. Requires pretty permalinks (anything but "Plain"): while they are off, the feature switches itself off — the standard login address keeps working and every admin screen shows an error notice saying so. On multisite the setting applies per site.

= I enabled the custom login URL and lost the address. How do I get back in? =
Three ways back in, in order:
1. Your custom address itself still works — you chose it.
2. The recovery key. If you set one on the Security tab (or defined `CSE_WP_OPTIONS_LOGIN_URL_RECOVERY` in wp-config.php), visit any page URL with `?cse_login_recovery=YOUR-KEY` appended — a matching key switches the feature off immediately and wp-login.php works again. A notice on the settings page reports when that happened, from which address.
3. With file or database access: add `define( 'CSE_WP_OPTIONS_DISABLE_LOGIN_URL', true );` to wp-config.php to disable the feature entirely, or delete the `cse_wp_options_security_login_url_enabled` option row.

== External services ==

Every setting is a named WordPress option, and nothing is transmitted off your site by default. The plugin makes no request to 404ops and sends no telemetry.

**Cloudflare setup check (optional).** When an administrator clicks **Check Cloudflare setup**, the server retrieves Cloudflare’s [published IPv4 and IPv6 ranges](https://www.cloudflare.com/ips/) to identify whether WordPress saw a trusted Cloudflare proxy. These requests carry the server’s outbound IP and a Site Options User-Agent. The request sends no visitor address, site URL, account information or settings. The comparison happens in WordPress, and fetching the ranges saves no settings. [Cloudflare terms](https://www.cloudflare.com/website-terms/) and [privacy policy](https://www.cloudflare.com/privacypolicy/).

**AI impact notes (optional).** Only when an administrator clicks "Explain the impact on this site (AI)" beside one of seven settings, and only if an AI provider is connected on the shared AI Connection screen (404ops > AI Connection). Nothing is sent unless that button is clicked. The request carries only the setting's name and option key, a one-line summary of what it does, its current value, the value about to be saved, the folder names of your active plugins, and your active theme's folder name. It carries no other settings, content or user data.

The providers are OpenAI (`api.openai.com`), Anthropic (`api.anthropic.com`), Google Gemini (`generativelanguage.googleapis.com`), OpenRouter (`openrouter.ai`), an OpenAI-compatible base URL you enter, and Ollama (by default `localhost`). Each provider's own terms and privacy policy apply.

**Local data (not an outside service).** Failed-login limiting, when turned on, stores the IP address and attempted username of each failed attempt in your own database. The plugin's privacy notes describe retention and removal. Undo snapshots store the previous values of options you changed, and the comments and tags a cleanup removed (including commenters' names, e-mail and IP addresses), in two tables in your own database. They are kept for at most 30 days, pruned daily, and removed when the plugin is deleted.

AI provider policy references for the optional shared AI connection:

* OpenAI: [API services agreement](https://openai.com/policies/services-agreement/) and [privacy policy](https://openai.com/policies/privacy-policy/).
* Anthropic: [commercial terms](https://www.anthropic.com/legal/commercial-terms) and [privacy policy](https://www.anthropic.com/legal/privacy).
* Gemini: [API terms](https://ai.google.dev/gemini-api/terms) and [Google privacy policy](https://policies.google.com/privacy).
* OpenRouter: [terms](https://openrouter.ai/terms) and [privacy policy](https://openrouter.ai/privacy). OpenRouter can route requests to another model provider; review the provider selected in your account as well.

For Ollama or an OpenAI-compatible endpoint, requests go to the server URL you configure. Review that server operator's terms and privacy policy. The plugin sends requests to the configured address; its operator determines any onward processing. The information sent and the actions that trigger a request are described above.

== Screenshots ==

1. Configure login protection.
2. Set two-factor requirements.
3. Preview database cleanup.

== Changelog ==

= 2.9.1 =
* Fixed: serialize concurrent two-factor lockout updates and protect newer lockouts during sign-in.
* Fixed: require coordinated multisite removal to respect site cleanup choices and preserve shared enrollment.
* Clarified: disclose the optional Cloudflare range lookup and use a product-only User-Agent.

= 2.9.0 =
* Added: a visitor IP check and Cloudflare setup preset in Security Hardening.
* Added: a separate lockout history with expiry, duration, triggering channel and recorded refusals.
* Added: an isolated protection test and recovery guidance next to Current Lockouts.
* Improved: opted-in lockout email groups related locks and sends at most once per 15 minutes per site.

= 2.8.5 =
* Fix: store optional debug diagnostics in the current site's uploads runtime directory instead of the plugin folder. Quiet activation writes no log files; scoped uninstall preserves unrelated files.

= 2.8.4 =
* Updated: bundled shared AI client 0.4.3 with hardened connection nonce handling.
* Fixed: normalize the Two-Factor screen nonce before verification.

= 2.8.3 =
* Added: guarded read-only administrative status interfaces and five bundled draft language catalogs.
* Improved: development test-session and catalog packaging checks.

= 2.8.2 =
* Maintenance: prefixed template variables to resolve WordPress Plugin Check warnings.

= 2.8.1 =
* Maintenance: database statements bind table names as identifiers, and the options preview checks its nonce more directly. No change to behaviour.

= 2.8.0 =
* New: Options Manager tab to browse the options table by size, autoload and guessed owner, with protected core options view-only and secrets masked.
* New: autoload-bloat analyzer, measured like Site Health; orphan finder with confidence levels that never deletes.
* New: dry run before every option change and cleanup. Edits, deletes, autoload changes, and spam and tag cleanups save an undo snapshot first.
* New: WordPress Abilities for inspection and dry runs, plus two guarded, undoable ones.
* New: a dismissible line at the bottom of the screen links other free 404ops tools that are not installed.

= 2.7.8 =
* Refreshed wording and support link.

= 2.7.7 =
* Admin menu labels and page headings drop the 404ops brand prefix.

= 2.7.6 =
* Changed: the plugin slug and text domain are now 404ops-site-options.

= 2.7.5 =
* Changed: the display name is now 404ops Site Options; wordpress.org screenshots added with matched captions; Composer's generated loader is hardened for Plugin Check.

= 2.7.4 =
* Plugin URI points to the 404ops.com plugins page.

= 2.7.3 =
* Fixed: WordPress.org listing corrections. The readme now has a standalone External services section, a shorter description, and a single entry for each version. The Unreleased block and duplicate headings are merged. No runtime behaviour change.

= 2.7.2 =
* Changed: Bundled libraries updated; translatable strings now use this plugin's text domain.

= 2.7.1 =
* Requires WordPress 7.0 or newer (it was 6.9); tested up to WordPress 7.1.

= 2.7.0 =
* Changed: the settings screen and the self-test sit under the shared 404ops menu, and the 404ops landing page lists WP Options.
* Requires WordPress 6.9 or newer; tested up to WordPress 7.1.
* Fixed: a clean save shows WordPress's "Settings saved." confirmation again.
* Fixed: the self-test reports the WordPress version this plugin requires.

= 2.6.0 =
* Fixed: the Two-Factor screen's buttons each have their own name.
* Maintenance: bundles its own prefixed UI kit. No other change.

= 2.5.1 =
* Maintenance: AI features use a private, namespaced copy of the AI client. If you use AI features, re-enter your AI connection once.

= 2.5.0 =
* New: passkeys, and optional passwordless sign-in with a passkey. Every passkey login is verified on your server.

= 2.4.0 =
* New: two-factor authentication with an authenticator app. Administrators can require it for chosen roles, with a grace period.

= 2.3.0 =
* Security: REST application-password logins are rate-limited.
* Security: the visitor address comes only from the direct connection unless you configure a forwarding header.
* New: separate attempt limits for IP addresses and usernames, and a Recent Login Attempts view.

= 2.2.0 =
* New: login hardening, with a custom login URL.

= 2.1.0 =
* New: settings export and import, and a multisite network screen with a settings baseline.

= 2.0.2 =
* Fixed: the Settings link on the Plugins list page now appears.
* Fixed: the X-Powered-By header is removed as intended.
* Removed: the Block Readme Files and Disable Directory Browsing toggles, which the web server answers before PHP runs.
* Fixed: a custom autosave interval no longer raises a warning when AUTOSAVE_INTERVAL is already defined.

= 2.0.1 =
* Fixed: plugin identity headers, text domain usage and the translation template.

== Upgrade Notice ==

= 2.8.3 =
Includes checked draft translations and administrative status reporting. Human linguistic review is separate.

= 2.8.2 =
Template variable naming cleanup for WordPress Plugin Check.

= 2.8.1 =
Code-quality maintenance only; no change to plugin behaviour. Safe to update.

= 2.8.0 =
Adds the Options Manager tab and dry runs for every database cleanup, with undo snapshots for changes and for spam and tag cleanups.

= 2.7.3 =
Readme and WordPress.org listing corrections only; no change to plugin behaviour. Safe to update.

= 2.7.2 =
Bundled libraries updated. Safe to update.

= 2.7.1 =
Now requires WordPress 7.0 or newer and is tested up to 7.1. Safe to update.

= 2.7.0 =
Moves to the shared 404ops menu and requires WordPress 6.9 or newer. Safe to update.

= 2.6.0 =
Fixes repeated ids on the Two-Factor screen and bundles its own prefixed UI kit. Safe to update.

= 2.5.1 =
Maintenance release: AI features use a private copy of the AI client; re-enter your AI connection once. Safe to update.

= 2.5.0 =
Adds passkeys for two-factor and optional passwordless sign-in. Nothing changes until users add a passkey. Safe to update.

= 2.4.0 =
Adds optional two-factor login with authenticator apps. Nothing changes until users enrol or you require it. Safe to update.

= 2.3.0 =
Closes a brute-force gap: REST application-password logins are now rate-limited. Existing limit settings keep working; review the new IP/username limits and proxy settings on the Security Hardening tab.

= 2.2.0 =
Login hardening arrives off by default — enable the custom login URL and limiting from the Security Hardening tab when you want them.

= 2.1.0 =
Adds settings export/import and the multisite network screen. No action needed on upgrade; existing per-site settings are untouched.


= 2.0.1 =
Submission-readiness release: identity/readme/i18n fixes only, no functional changes.
