Creating a personal invite no longer works: the invite doesn't appear under Pending Invites and the generated registration link is rejected as invalid.
Root cause
PR #83 added kind and expires_at columns to us_invites (Schema.php) and InviteRepository::insert() now writes them — but USC_VERSION stayed at 1.0.0-rc.2, so Plugin::boot()'s version check never re-ran Installer/dbDelta. On upgraded sites the table lacks the new columns, wpdb->insert fails silently, no row is stored, and RegistrationController still displays a registration link whose token hash was never persisted.
Fix
Bump the plugin Version header and USC_VERSION to 1.0.0-rc.3 so the upgrade path runs dbDelta and adds the columns.
Hardening: InviteRepository::insert() must return 0 when the insert fails (not a stale insert_id), and the Invites admin page must show an error notice instead of a dead link when creation fails (personal and group forms).
**Regression from #77 / PR #83.**
Creating a personal invite no longer works: the invite doesn't appear under Pending Invites and the generated registration link is rejected as invalid.
## Root cause
PR #83 added `kind` and `expires_at` columns to `us_invites` (Schema.php) and `InviteRepository::insert()` now writes them — but `USC_VERSION` stayed at `1.0.0-rc.2`, so `Plugin::boot()`'s version check never re-ran `Installer`/`dbDelta`. On upgraded sites the table lacks the new columns, `wpdb->insert` fails silently, no row is stored, and `RegistrationController` still displays a registration link whose token hash was never persisted.
## Fix
- Bump the plugin `Version` header and `USC_VERSION` to `1.0.0-rc.3` so the upgrade path runs dbDelta and adds the columns.
- Hardening: `InviteRepository::insert()` must return 0 when the insert fails (not a stale `insert_id`), and the Invites admin page must show an error notice instead of a dead link when creation fails (personal and group forms).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Regression from #77 / PR #83.
Creating a personal invite no longer works: the invite doesn't appear under Pending Invites and the generated registration link is rejected as invalid.
Root cause
PR #83 added
kindandexpires_atcolumns tous_invites(Schema.php) andInviteRepository::insert()now writes them — butUSC_VERSIONstayed at1.0.0-rc.2, soPlugin::boot()'s version check never re-ranInstaller/dbDelta. On upgraded sites the table lacks the new columns,wpdb->insertfails silently, no row is stored, andRegistrationControllerstill displays a registration link whose token hash was never persisted.Fix
Versionheader andUSC_VERSIONto1.0.0-rc.3so the upgrade path runs dbDelta and adds the columns.InviteRepository::insert()must return 0 when the insert fails (not a staleinsert_id), and the Invites admin page must show an error notice instead of a dead link when creation fails (personal and group forms).