ITC Forms 0.15.6Changelog
Entries, privacy, and retention
Entry storage is enabled by default and can be disabled per form. When enabled,
submissions are kept in private plugin tables and require the
itc_forms_view_entries capability. Viewing is separate from mutation:
itc_forms_manage_entries controls corrections, notes, and manual redelivery.
Entries carry an explicit read/unread state. Corrections are revalidated against
the submitted form schema and require a reason; append-only activity records
store actor/time metadata and changed field keys without copying submitted PII.
Internal notes are searchable by authorized staff and never enter confirmations,
CSV exports, or feeds; WordPress privacy exports include them for the matching person.
Each entry also stores the immutable form revision that accepted it. Form
definition snapshots contain configuration, not submission data, and remain
available independently of entry retention so historical records never silently
change meaning.
By default, Settings → Site-wide protection stores the submitted IP address and browser user-agent string with each entry for abuse investigation. Site administrators can disable this capture there. Existing entries are not backfilled; new entries follow the current setting. Both values are included in authorized entry details, CSV/Excel exports, and WordPress personal-data exports, and are removed with the entry under erasure, retention, or deletion. They may be personal data: describe this processing in the site’s privacy information and choose an appropriate retention period.
The single-entry admin screen presents those records as Activity, a unified timeline of entry events and references to authoritative delivery runs. It records submission, read/workflow changes, corrections by field key, note actions, delivery lifecycle, manual retries, authorized file downloads, and inclusion in a WordPress personal-data export. Each event has an actor, timestamp, stable event type and bounded safe metadata. It never copies old/new submitted values, message bodies, provider payloads or responses, destinations, credentials, tokens, private paths or other secrets. A delivery timeline item references its durable run instead of duplicating it. PHP hooks may add validated event types and safe metadata; JavaScript hooks may alter presentation but cannot create authoritative audit records or access redacted data. Permanent deletion, privacy erasure, and retention expiry remove the entry and its linked activity together; the plugin deliberately does not retain a shadow audit record after the data subject’s record has been erased.
Authorized users can export the active form and filters as UTF-8 CSV or as
SpreadsheetML for Microsoft Excel. Both formats stream rows in bounded batches,
serialize structured fields safely, and neutralize spreadsheet formulas. The
Excel option is dependency-free and uses the portable .xml workbook format.
From the all-forms workspace, Export all for Excel creates one worksheet per
form so unrelated field schemas are never flattened into ambiguous columns.
Operators can set ITC_FORMS_ENTRY_STORAGE_ENABLED or the more specific
ITC_FORMS_ENTRY_STORAGE_ENABLED_FORM_KEY to true or false. A valid
form-specific value wins over the global value, which wins over the saved
per-form choice. Invalid runtime values preserve the preceding choice. The
itc_forms_entry_storage_enabled filter is the final per-submission decision.
Disabling permanent storage does not disable automations. Email, webhook, and
registered providers use a protected temporary payload that remains available
for the configured retry lifecycle, is excluded from Entries and exports, and
is erased after processing finishes.
Entries participate in WordPress personal-data export and erasure by submitted email address. Exports include the standard entry columns, workflow state, internal notes, and all stored managed-field values for that address only. Invalid addresses return no data. Export and erasure process 20 entries per pass. Confirmed erasure removes related files, activity, and delivery metadata before deleting each entry; a metadata cleanup failure retains the entry and reports a retryable failure.
Retention is disabled when no confirmed global or per-form period exists. Only zero or a positive whole number is accepted; malformed, boolean-like, and negative runtime values disable deletion. Set the period in the form’s privacy settings or provide an operational override:
define( 'ITC_FORMS_RETENTION_DAYS', 30 );Use ITC_FORMS_RETENTION_DAYS_FORM_KEY for a form-specific runtime override,
where FORM_KEY is the uppercase form key with hyphens replaced by underscores.
Effective precedence is the final itc_forms_retention_days filter, a global
runtime value (including explicit zero), the legacy positive
itc_forms_retention_days option, a form-specific runtime value, the saved
per-form value, then the disabled zero default. Global runtime and legacy
positive values apply across forms. Deletion runs daily through WordPress Cron
and removes related delivery metadata first. Test the policy on a staging copy
and back up required records before shortening it.
Uninstall retains data by default. Permanent uninstall cleanup requires the
exact boolean constant ITC_FORMS_DELETE_DATA_ON_UNINSTALL to be true before
uninstalling; strings such as "true" do not opt in. Default uninstall clears
plugin cron hooks but retains forms, entries, delivery history, settings, and
managed pages on every site. Explicit cleanup removes those records, plugin
tables/options, and administrator capabilities across a multisite network. It
is irreversible without a complete backup.