9972e59802
Fixed issue where re-enable operations (Options 6, 7, 8) were not actually removing the DISABLE_WP_CRON line from wp-config.php despite claiming success. Changed from complex extended regex pattern that wasn't matching: sed -i.wpbak -E '#define[[:space:]]*\(.*#d' To simpler, more reliable pattern: sed -i.wpbak '/define.*DISABLE_WP_CRON.*true.*;/d' Tested patterns: ❌ Original pattern: Failed to match ✅ Fixed pattern: Successfully removes the line ✅ Verified via diff: Line properly deleted from wp-config.php This fix enables Options 6, 7, 8 (re-enable operations) to work correctly. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>