Skip to content

v6.4.0

Choose a tag to compare

@github-actions github-actions released this 31 May 12:43
· 15 commits to main since this release

Added

✏️ Profile Edit Approval Workflow

  • Request-and-approve editing — After a member is approved, they can no longer change their profile data directly. Submitting the profile edit form now creates a pending edit request instead of writing changes immediately.
  • Admin review panel — Admins review requested changes at /app/admin/profile-edits with a filterable list (pending/approved/rejected). Each request shows a field-by-field diff (old → new). Approving applies the changes to the member; rejecting (with an optional reason) discards them.
  • One pending request at a time — A member cannot submit a new edit request while one is still under review; the profile page shows a "pending review" banner.
  • Notifications — Admins are notified (inbox + push) when a request is submitted; the member is notified of the approve/reject decision.
  • Staff exemption — Admins and member managers keep direct profile editing.

New Files:

  • includes/class-sp-profile-edits.php — Profile edit requests handler
  • templates/unified/admin/profile-edits.php — Admin review page
  • migrations/2026_05_31_000001_create_profile_edit_requests_table.php

New Database Table: wp_sp_profile_edit_requests