Skip to content

Commit 2a3a0bb

Browse files
committed
Only check isJetpackConnected for valid Jetpack connection.
1 parent afa8e10 commit 2a3a0bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WooCommerce/Classes/Extensions/WordPressComSiteInfo+Woo.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ extension WordPressComSiteInfo {
55
/// Encapsulates the rules that declare a WordPress site as having a valid
66
/// Jetpack installation
77
var hasValidJetpack: Bool {
8-
return hasJetpack &&
9-
isJetpackConnected &&
10-
isJetpackActive
8+
isJetpackConnected
119
}
1210
}

0 commit comments

Comments
 (0)