v1.2.6: Fix Plugin Reactivation After Update
Bug Fixes
- Fixed Plugin Deactivation Issue: Resolved the problem where the plugin would become deactivated after updates
- Improved Post-Update Redirection: Fixed 'Sorry, you are not allowed to access this page' errors after updates
- Automatic Reactivation: Plugin now automatically reactivates itself after successful updates
User Experience Improvements
- Better Success Messages: Added clear success notifications when updates complete successfully
- Proper Redirection: Users are now correctly redirected to the plugin settings page after updates
- Enhanced Error Handling: Improved error reporting and user guidance during the update process
- Activation State Management: Plugin properly tracks and restores its activation state during updates
Technical Improvements
- Enhanced update mechanism to store activation state before update process
- Improved AJAX response handling with proper redirection logic
- Added fallback handling for manual activation when automatic reactivation fails
- Better error reporting for troubleshooting update issues
This release fixes the common WordPress plugin update issue where plugins become deactivated and users lose access to plugin functionality after updates.