This repository was archived by the owner on Aug 8, 2026. It is now read-only.
WP Sudo v3.3.0 — Research Snapshot
Pre-release
Pre-release
Versions before 4.9.0 automatically replayed an intercepted request after reauthentication (#322). Do not use this version.
RESEARCH PROTOTYPE ONLY. Do not install on production, public staging, or any site containing real users, credentials, or data. Use only in WordPress Playground or a disposable local test environment.
What's new
- Governance backfill re-keyed to 3.3.0 (fixes strict-mode lockout): the migration that grants
manage_wp_sudoand the other governance capabilities to existing single-site administrators was keyed at3.1.0— a version that never had a public release (tags went v3.1.1 → v3.1.3 → v3.2.0). Sites upgrading from any public 3.1.x release skipped the backfill, leaving nomanage_wp_sudoholders and locking administrators out of Settings → Sudo in the default strict governance mode (recovery only viaWP_SUDO_RECOVERY_MODE). The routine is now keyed at3.3.0so it also runs once for sites already stamped3.2.0, and it skips when any user already holdsmanage_wp_sudo, preserving deliberate Access-tab grant/revoke configurations. - Audit column clamping:
Event_Storenow clampsevent,rule_id,surface, andipvalues to their schema column widths before insert, so over-length values from third-party rules truncate predictably in PHP instead of erroring (strict MySQL, dropping the audit row) or truncating silently in the database. wp_sudo_grant_session_on_loginfilter: the automatic sudo session granted on browser login can now be suppressed (returnfalse) for shared-terminal/kiosk hardening or SSO integrations. Default behavior is unchanged. Note for SSO integrators: suppressing the grant for users without a usable WordPress password makes gated actions unreachable for them — see the developer reference. Closes audit register item F17.
Full history: CHANGELOG.md