We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isJetpackConnected
1 parent 2a3a0bb commit 49a2e5dCopy full SHA for 49a2e5d
WooCommerce/Classes/Extensions/WordPressComSiteInfo+Woo.swift
@@ -5,6 +5,12 @@ extension WordPressComSiteInfo {
5
/// Encapsulates the rules that declare a WordPress site as having a valid
6
/// Jetpack installation
7
var hasValidJetpack: Bool {
8
- isJetpackConnected
+ if ServiceLocator.featureFlagService.isFeatureFlagEnabled(.jetpackConnectionPackageSupport) {
9
+ return isJetpackConnected
10
+ } else {
11
+ return hasJetpack &&
12
+ isJetpackConnected &&
13
+ isJetpackActive
14
+ }
15
}
16
0 commit comments