Skip to content

Remove Enable AI header toggle, allow feature/experiment toggles (and group toggles) to control plugin functionalityΒ #600

Closed

Description

@gziolo

Description

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

  1. Go to the AI settings screen.
  2. Under Content Experiments, enable only a subset of features (e.g. Alt Text Generation and Meta Description Generation, leave the rest off).
  3. Observe the Enable AI toggle in the page header.

Screenshots, screen recording, code snippet

Image

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.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    on May 21, 2026
  2. gziolo commented on May 21, 2026

    @gziolo
    MemberAuthor

    I read the hint again:

    Image

    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".

  3. dkotter commented on May 21, 2026

    @dkotter
    Contributor

    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

  4. added this to the 1.1.0 milestone on May 21, 2026
  5. moved this from Triage to To do in WordPress AI Roadmapon May 21, 2026
  6. added theissue type on May 21, 2026
  7. manueldiaz2006t-blip commented on May 22, 2026

    @manueldiaz2006t-blip

    Como habilito los encabezados que se perdieron?

  8. moved this from To do to In progress in WordPress AI Roadmapon May 23, 2026
  9. jeffpaul commented on May 26, 2026

    @jeffpaul
    Member

    @manueldiaz2006t-blip using Google Translate it seems you're asking:

    How do I enable the headers that went missing?

    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!

  10. modified the milestones: 1.0.1, 1.1.0 on May 27, 2026
  11. modified the milestones: 1.0.2, 1.1.0 on Jun 16, 2026
  12. 8 remaining items

  13. jeffpaul commented on Aug 12, 2026

    @jeffpaul
    Member

    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:

    Unlinked contributors: manueldiaz2006t-blip.
    
    Co-authored-by: dhrupo <dhrupo@git.wordpress.org>
    Co-authored-by: dkotter <dkotter@git.wordpress.org>
    Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
    Co-authored-by: gziolo <gziolo@git.wordpress.org>
    
  14. 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
  15. modified the milestones: Future Release, 1.4.0 on Aug 12, 2026
  16. moved this from In discussion / Needs decision to To do in WordPress AI Roadmapon Aug 12, 2026
  17. andreilupu commented on Aug 26, 2026

    @andreilupu
    Contributor

    πŸ‘‹ 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 πŸ˜„

  18. moved this from To do to In progress in WordPress AI Roadmapon Aug 30, 2026
  19. JasonTheAdams commented on Sep 3, 2026

    @JasonTheAdams
    Member

    Hi! Yeah, I got really confused by this when testing yesterday. I think we need to do one of:

    1. Remove it and just consider it "disabled" when no features are turned on
    2. Have it enabled by default (with the specific features disabled by default)
    3. Have a simple onboarding UX that introduces the features concept and gives them the chance to enable it plus some recommended ones
  20. jeffpaul commented on Sep 3, 2026

    @jeffpaul
    Member

    My preference is option 1, making things more simpler for folks to get started.

  21. dkotter commented on Sep 3, 2026

    @dkotter
    Contributor

    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

  22. JasonTheAdams commented on Sep 18, 2026

    @JasonTheAdams
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueHelp Wanted[Type] Bug

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions