v0.9.1 - LearnDash Banner Management UI
LearnDash Banner Management UI
Added
- New "馃帗 Banner" tab in WordPress Admin for one-click banner control
- Checkbox to enable/disable enrollment banner removal without CLI
- Real-time status indicator with color-coded badges (Active, Not Active, Update Needed, Not Found)
- Automatic backups before each modification for safety
- Warning notifications after LearnDash updates prompting patch reapplication
- Backward compatible with old patch versions - auto-upgrades to latest
- AJAX-powered - instant apply/restore without page reload
Changed
- LearnDash banner patch now managed via WordPress Admin UI instead of CLI script
- Integrated into plugin settings for better UX
- Patch status automatically detected and displayed
Technical Details
- New functions:
sb_get_learndash_path(),sb_get_learndash_patch_status(),sb_apply_learndash_banner_patch(),sb_restore_learndash_banner_original() - AJAX handler:
sb_ajax_save_learndash_bannerfor asynchronous patch operations - Status detection: Distinguishes between applied, not_applied, needs_reapply, and not_found states
- Backward compatible: Works with both old patch format and detects LearnDash updates
Full Changelog: https://github.com/alexeykrol/supabase-wordpress/blob/main/CHANGELOG.md