You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove Enable AI header toggle, allow feature/experiment toggles (and group toggles) to control plugin functionalityΒ #600
The Enable AI toggle in the page header shows a binary on/off state that doesn't accurately represent the underlying configuration. When only some sub-features are enabled, the toggle still renders as fully ON, with no visual distinction from the "all enabled" state.
Actual behavior
The header toggle renders as fully ON (solid blue), identical to the state where every sub-feature is enabled across every section.
Expected behavior
The header toggle should accurately represent the state of the features it governs. Two options worth considering:
Option A β tri-state header toggle
The header toggle reflects aggregate state across all sub-features:
Off β nothing enabled anywhere.
Partial / indeterminate β at least one but not all sub-features enabled. Distinct visual treatment (partial fill, dashed track, or indeterminate indicator).
On β everything enabled.
Option B β move the toggle to each section (preferred)
Drop the global header toggle and give each section (Content Experiments, Admin Experiments, future sections) its own master toggle with the same tri-state behavior scoped to that section. This avoids a single control trying to summarize an ever-growing surface, keeps the aggregate state legible at the section level, and pairs naturally with the existing Enable all / Disable all buttons. As more experiment groups are added, the model scales without the header toggle becoming increasingly meaningless.
Step-by-step reproduction instructions
Go to the AI settings screen.
Under Content Experiments, enable only a subset of features (e.g. Alt Text Generation and Meta Description Generation, leave the rest off).
Observe the Enable AI toggle in the page header.
Screenshots, screen recording, code snippet
Environment info
The latest: WP (7.1), AI plugin (1.0), Safari.
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.
So this is very confusing. Why would I install the AI plugin to disable every possible AI functionality?
Open to discussion on this toggle but I believe the main reason this is here is to provide users a quick way to disable things if they find they don't like results / they're hitting their rate limits or usage thresholds. There's a lot of mixed feelings around AI and we're wanting to provide a quick exit path.
But could easily argue that manually disabling each feature is about the same amount of effort or even easier, just disable the plugin entirely.
Anyway, the toggle state should either reflect the state "AI enabled" or the action prompt should be rephrased as "Disable AI".
This makes sense to me. The other thing that may be worth tackling as part of this is right now, not all features use AI (like the Abilities Explorer, Request Logging or Connector Approval). So ideally we have a distinction between disabling all AI features while non-AI features are still allowed to be on
Reacted by Jeffrey Paul, Greg ZiΓ³Εkowski and Yogesh Bhutkar
I'm not sure what headers you're referencing, so if you could provide more context (ideally in a separate issue assuming this is unrelated to the Enable AI toggle) that would help with triaging your issue... thanks!
Updating this issue based on #798 (comment) to remove the toggle entirely. Let's ensure the following are credited in the eventual work for that as they helped with the current, now closed, approach:
changed the title [-]`Enable AI` header toggle doesn't reflect aggregate state of sub-features[/-][+]Remove `Enable AI` header toggle, allow feature/experiment toggles (and group toggles) to control plugin functionality[/+]on Aug 12, 2026
π Just adding a few cents here before the removal gets implemented. I think the global toggle still has value as a general handbrake: when token consumption goes crazy, or an AI feature misbehaves, a site owner wants one obvious place to shut it all off. Deactivating the plugin works, but on a site with 30 plugins that's not a great emergency UX. Notably, @jeffpaul mentioned the core "OFF SWITCH" filter that disables all LLM-based features. That filter is only reachable by developers; the header toggle is effectively the site-admin UI for the same thing. Removing it leaves non-technical admins without a single kill switch.
It's not a hill I would die on; removing the toggle is fine, but in my opinion, relabeling is the right way here because I still dream about the moment this list goes in WP Core and then there is no plugin to deactivate π
I wouldn't mind working towards option 3 if anyone has good ideas on what that onboarding UX should look like / how that should function (which I think we can explore in #994). We've gotten enough people confused with this toggle that I think the correct short-term solution is option 1
Activity
gziolo commentedon May 21, 2026
I read the hint again:
So this is very confusing. Why would I install the AI plugin to disable every possible AI functionality?
Anyway, the toggle state should either reflect the state "AI enabled" or the action prompt should be rephrased as "Disable AI".
dkotter commentedon May 21, 2026
Open to discussion on this toggle but I believe the main reason this is here is to provide users a quick way to disable things if they find they don't like results / they're hitting their rate limits or usage thresholds. There's a lot of mixed feelings around AI and we're wanting to provide a quick exit path.
But could easily argue that manually disabling each feature is about the same amount of effort or even easier, just disable the plugin entirely.
This makes sense to me. The other thing that may be worth tackling as part of this is right now, not all features use AI (like the Abilities Explorer, Request Logging or Connector Approval). So ideally we have a distinction between disabling all AI features while non-AI features are still allowed to be on
manueldiaz2006t-blip commentedon May 22, 2026
Como habilito los encabezados que se perdieron?
jeffpaul commentedon May 26, 2026
@manueldiaz2006t-blip using Google Translate it seems you're asking:
I'm not sure what headers you're referencing, so if you could provide more context (ideally in a separate issue assuming this is unrelated to the
Enable AItoggle) that would help with triaging your issue... thanks!8 remaining items
jeffpaul commentedon Aug 12, 2026
Updating this issue based on #798 (comment) to remove the toggle entirely. Let's ensure the following are credited in the eventual work for that as they helped with the current, now closed, approach:
[-]`Enable AI` header toggle doesn't reflect aggregate state of sub-features[/-][+]Remove `Enable AI` header toggle, allow feature/experiment toggles (and group toggles) to control plugin functionality[/+]andreilupu commentedon Aug 26, 2026
π Just adding a few cents here before the removal gets implemented. I think the global toggle still has value as a general handbrake: when token consumption goes crazy, or an AI feature misbehaves, a site owner wants one obvious place to shut it all off. Deactivating the plugin works, but on a site with 30 plugins that's not a great emergency UX. Notably, @jeffpaul mentioned the core "OFF SWITCH" filter that disables all LLM-based features. That filter is only reachable by developers; the header toggle is effectively the site-admin UI for the same thing. Removing it leaves non-technical admins without a single kill switch.
It's not a hill I would die on; removing the toggle is fine, but in my opinion, relabeling is the right way here because I still dream about the moment this list goes in WP Core and then there is no plugin to deactivate π
Remove globalEnabled checks and update E2E tests for WordPress#600
JasonTheAdams commentedon Sep 3, 2026
Hi! Yeah, I got really confused by this when testing yesterday. I think we need to do one of:
jeffpaul commentedon Sep 3, 2026
My preference is option 1, making things more simpler for folks to get started.
dkotter commentedon Sep 3, 2026
I wouldn't mind working towards option 3 if anyone has good ideas on what that onboarding UX should look like / how that should function (which I think we can explore in #994). We've gotten enough people confused with this toggle that I think the correct short-term solution is option 1
JasonTheAdams commentedon Sep 18, 2026
I'm cool with 1 as a quick start to minimize confusion. As you saw, I made #994 to at least carry on the conversation with suggestions.