-
Notifications
You must be signed in to change notification settings - Fork 67
Experiment toggles are cleared after “Disable AI” is saved #352
Copy link
Copy link
Open
Labels
[Type] BugSomething isn't workingSomething isn't working
Description
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.
- Yes
Please confirm that you have tested with all plugins deactivated except the AI plugin.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] BugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.