Fixes three critical production issues discovered on upskillhvac.com: ✅ Dashboard Fatal Errors (class-hvac-dashboard-data.php): - Added class_exists('Tribe__Events__Main') checks before accessing TEC constants - Prevents fatal errors when TEC plugin loads after our code - Applied to get_total_events_count(), get_upcoming_events_count(), and get_past_events_count() - Gracefully returns 0 when TEC is not available ✅ Event Edit Security Check Failure (page-edit-event-custom.php): - Fixed nonce action mismatch: changed 'hvac_edit_event' to 'hvac_event_action' - Aligns with HVAC_Event_Manager::NONCE_ACTION constant - Resolves "Security check failed" error on event update forms ✅ Google Drive Folder Update: - Updated embedded folder ID from 16uDRkFcaEqKUxfBek9VbfbAIeFV77nZG to 1-SDHGR9Ix6BmUVTHa3wI99K0rwfWL-vs - Applied to templates/page-trainer-resources.php (trainer resources page) - Applied to includes/class-hvac-announcements-display.php (shortcode default) - Updated tests/unit/test-announcements-display.php (test references) All changes tested and verified on production. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test-announcements-ajax-extended.php | ||
| test-announcements-ajax.php | ||
| test-announcements-cpt.php | ||
| test-announcements-display.php | ||
| test-announcements-email-extended.php | ||
| test-announcements-email.php | ||
| test-announcements-manager.php | ||
| test-announcements-permissions.php | ||
| test-trainer-status.php | ||