Polish release on the 4.x line.
Actions tab — clean card redesign
Every configured action is now a single, unified .cf-action-card:
– Icon sits inside the header where it belongs (no more orphan icon stranded to the left of the panel).
– Header is a real button with aria-expanded; click to toggle, chevron rotates.
– Remove action with confirmation; first card opens by default if there’s only one.
– Replaces the old dual chrome (PHP ::before blue title bar + JS-wrapped .cf-accordion) with a single source of truth rendered directly by PHP.
– Works uniformly across all 28 action types (email, twilio_sms, slack, mailchimp, webhook, notion, airtable, autoresponder, hubspot, etc.).
New template variables for actions
cf_replace_data_variables() now resolves:
Submission source
– [CF_REFERRER_URL], [CF_REFERRER_HOST], [CF_REFERRER_PATH]
– [CF_POST_ID], [CF_POST_TITLE], [CF_POST_URL] (resolved via url_to_postid() on the referrer)
Logged-in user
– [CF_USER_ID], [CF_USER_LOGIN], [CF_USER_EMAIL], [CF_USER_DISPLAY_NAME]
Submission & timing
– [CF_SUBMISSION_ID], [CF_DATE], [CF_TIME] (formatted with the site’s date/time format)
Site
– [CF_SITE_NAME], [CF_SITE_URL], [CF_ADMIN_EMAIL]
Click-to-insert in the variables reference
The Actions tab → “Available Variables” panel is now four columns (Form Fields, Submission Source, User & Session, Form & Site) with a tooltip on every token.
Click any [TOKEN] to insert it at the cursor of the most recently focused input or textarea inside the Actions tab. Brief green pulse confirms the insert. Works on the per-action help text codes too.
Per-action help lines updated
Email, Emailit and Autoresponder now document the most useful new tokens ([CF_REFERRER_URL], [CF_POST_TITLE], [CF_USER_EMAIL] / [CF_SITE_NAME]).
Upgrade notes
- No data or schema migrations.
- Pure UI / template-variable additions — fully backwards-compatible.
- If a third-party extension still emits the legacy
.cf-accordion markup around an action, it will keep rendering as before (no-op transitional CSS rule kept).