v1.2.3
What's New
- Send Now button — Campaigns list now has a Send Now action for any scheduled campaign, bypassing the scheduled time for immediate dispatch
- Scheduled For column — Shows the next run time for scheduled campaigns with an overdue indicator if the time has passed without firing
- Template persistence — The Email Editor template selected when generating is now saved with the campaign and pre-selected when you re-open it; recurring AI regeneration uses this saved template automatically
- Scheduling timezone fix — schedule_campaign was parsing the datetime using PHP server timezone instead of WordPress timezone, which could cause campaigns to fire at the wrong time
Bug Fixes
- send_campaign and resend_campaign now call process_batch directly instead of scheduling via WP-Cron, ensuring emails go out immediately on Send Now
- Fixed fatal PHP error on new campaign edit page (null campaign → template_id access)
DB Migration
A new template_id column is added to wp_aiem_campaigns automatically on first page load after updating.