- Updated dashboard template to show access denied message instead of redirect for non-authorized users - Enhanced login handler to redirect admins to WP admin instead of causing loops - Added view_hvac_dashboard capability to administrator role during plugin activation - Improved access control logic to allow administrators to view dashboard - Added proper cleanup of admin capabilities on plugin deactivation - Prevents ERR_TOO_MANY_REDIRECTS when WordPress admin users try to access trainer dashboard 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| certificates | ||
| community | ||
| email-attendees | ||
| event-summary | ||
| page-community-login.php | ||
| single-hvac-event-summary.php | ||
| single-hvac-order-summary.php | ||
| template-edit-profile.php | ||
| template-event-summary.php | ||
| template-hvac-dashboard.php | ||
| template-trainer-profile.php | ||