AI Sidebar: Update AI features gate to require Big Sky on WPCOM#49875
AI Sidebar: Update AI features gate to require Big Sky on WPCOM#49875t-wright wants to merge 2 commits into
Conversation
…form Previously wpcom Simple always reported AI features as available and Atomic/WoA relied on the connection owner. Both now require the Big Sky plugin to be active, matching how the preview surface is already gated. Extracts the Big Sky check into is_big_sky_enabled() so the preview gate and has_ai_features() share one source of truth, and adds tests covering the platform branches that the preview gate previously masked.
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Code Coverage SummaryCoverage changed in 1 file.
|
Fixes #
Proposed changes
Related product discussion/links
Does this pull request change what data or activity we track or use?
Testing instructions