Releases: adamjohnlea/leastudios-email-templates
Release list
v1.2.1
v1.2.0
Added
- Add Send Branded Sample button to verify branding end-to-end
Fixed
- Enumerate Email_Log_Repository filters as static prepare strings to avoid $where_sql interpolation
- Enumerate Suppression_Repository filters as static prepare strings to avoid $where_sql interpolation
- Rename template-scope variables to full plugin prefix for Plugin Check compliance
- Prefix social-template variables for Plugin Check compliance
- Trim readme.txt short description and 1.1.0 upgrade notice to plugin directory limits
Changed
- Convert table-name interpolations to %i placeholder
Requirements
- WordPress 6.4+
- PHP 8.2+
Download: leastudios-email-templates-1.2.0.zip (attached below).
v1.1.3
Fixed
- Derive VERSION constant from plugin header to prevent drift
Requirements
- WordPress 6.4+
- PHP 8.2+
Download: leastudios-email-templates-1.1.3.zip (attached below).
v1.1.2
Fixed
- Declare compatibility with WordPress 7.0
Requirements
- WordPress 6.4+
- PHP 8.2+
Download: leastudios-email-templates-1.1.2.zip (attached below).
v1.1.1
Patch release.
Fixed
- Fatal error on the Email Templates → Suppressions admin page (
Call to undefined function convert_to_screen()).WP_List_Tablewas being constructed atplugins_loaded, beforewp-admin/includes/template.phpis loaded. The list table is now built lazily inside the page-render flow.
Docs
- Corrected the
Email_Sender::compose()docblock — the recipient IS reflected in the composed body via the{unsubscribe_url}merge tag added in 1.1.0. Email_Sender::send()now documents that the per-typerecipient_overridesetting silently supersedes the caller-supplied$tofor delivery, the suppression gate, the{unsubscribe_url}merge tag, and the auto-appended footer.
Packaging
.distignoretightened to keep internal planning docs (docs/superpowers/) and the PHPStan dev bootstrap (phpstan-bootstrap.php) out of the distributable zip.
Upgrade
Recommended upgrade for anyone running 1.1.0 — fixes the Suppressions admin page fatal.
Requirements
- WordPress 6.5+
- PHP 8.2+
Download: leastudios-email-templates-1.1.1.zip (attached below). Upload via Plugins → Add New → Upload Plugin in wp-admin, or wp plugin install leastudios-email-templates-1.1.1.zip --activate via WP-CLI.
v1.1.0
Major Phase 4-9 release.
Added
- Per-type preview + send-test from the admin Email Types tab
- Send log with filterable admin list, retention prune cron, and CLI inspection
- Plain-text alternative body for every transactional HTML send
- Light + dark theme variants for the email base template
- Per-tag escape contract — merge tags declare
html/raw/urlmodes - Third-party email-type registry via the
leastudios_email_templates_register_typesaction - WP-CLI subcommands:
list-types,preview,send-test,list-suppressions,add-suppression,remove-suppression - Unsubscribe / suppression — HMAC-signed URLs, public REST landing pages, admin management page, and an auto-appended footer on non-required types
Changed
- PHPStan baseline raised to level 7
Requirements
- WordPress 6.5+
- PHP 8.2+
See readme.txt and README.md for the full feature list, WP-CLI reference, and extension-point documentation.
v1.0.0
Initial release.
- Branded HTML wrapper for every outgoing
wp_mail(). - Transactional emails for leaStudios Payments order, subscription, payment-failure, and refund events.
Requirements
- WordPress 6.5+
- PHP 8.2+
Download: leastudios-email-templates-1.0.0.zip (attached below). Historical release — backfilled for completeness.