Description
Saving settings while AI is globally disabled clears each experiment’s stored wpai_feature_{id}_enabled option. After Enable AI, every experiment appears off until the admin re-checks them, even though they had been enabled before.
Step-by-step reproduction instructions
- Go to Settings → AI (with valid AI connectors).
- Turn AI on and enable one or more experiments (e.g. Title Generation).
- Click Save Changes and confirm success.
- Click Disable AI (auto-submit).
- Click Enable AI again.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress | 7.1-alpha-62171 (wp core version + wp-includes/version.php)
AI plugin | 0.6.0 (plugin header in wp-content/plugins/ai/ai.php)
PHP (CLI) |
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.
Description
Saving settings while AI is globally disabled clears each experiment’s stored wpai_feature_{id}_enabled option. After Enable AI, every experiment appears off until the admin re-checks them, even though they had been enabled before.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress | 7.1-alpha-62171 (wp core version + wp-includes/version.php)
AI plugin | 0.6.0 (plugin header in wp-content/plugins/ai/ai.php)
PHP (CLI) |
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.