@@ -45,9 +45,9 @@ public struct Site: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
4545 ///
4646 public let isWooCommerceActive : Bool
4747
48- /// Indicates if this site hosts a WordPress Store .
48+ /// Indicates if this site is hosted on WordPress.com .
4949 ///
50- public let isWordPressStore : Bool
50+ public let isWordPressComStore : Bool
5151
5252 /// For Jetpack CP sites (connected to Jetpack with Jetpack Connection Package instead of Jetpack-the-plugin), this property contains
5353 /// a list of active plugins with Jetpack Connection Package (e.g. WooCommerce Payments, Jetpack Backup).
@@ -75,7 +75,7 @@ public struct Site: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
7575 let isJetpackConnected = try siteContainer. decode ( Bool . self, forKey: . isJetpackConnected)
7676
7777 let optionsContainer = try siteContainer. nestedContainer ( keyedBy: OptionKeys . self, forKey: . options)
78- let isWordPressStore = try optionsContainer. decode ( Bool . self, forKey: . isWordPressStore )
78+ let isWordPressComStore = try optionsContainer. decode ( Bool . self, forKey: . isWordPressComStore )
7979 let isWooCommerceActive = try optionsContainer. decode ( Bool . self, forKey: . isWooCommerceActive)
8080 let jetpackConnectionActivePlugins = try optionsContainer. decodeIfPresent ( [ String ] . self, forKey: . jetpackConnectionActivePlugins) ?? [ ]
8181 let timezone = try optionsContainer. decode ( String . self, forKey: . timezone)
@@ -93,7 +93,7 @@ public struct Site: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
9393 isJetpackThePluginInstalled: isJetpackThePluginInstalled,
9494 isJetpackConnected: isJetpackConnected,
9595 isWooCommerceActive: isWooCommerceActive,
96- isWordPressStore : isWordPressStore ,
96+ isWordPressComStore : isWordPressComStore ,
9797 jetpackConnectionActivePlugins: jetpackConnectionActivePlugins,
9898 timezone: timezone,
9999 gmtOffset: gmtOffset)
@@ -111,7 +111,7 @@ public struct Site: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
111111 isJetpackThePluginInstalled: Bool ,
112112 isJetpackConnected: Bool ,
113113 isWooCommerceActive: Bool ,
114- isWordPressStore : Bool ,
114+ isWordPressComStore : Bool ,
115115 jetpackConnectionActivePlugins: [ String ] ,
116116 timezone: String ,
117117 gmtOffset: Double ) {
@@ -124,7 +124,7 @@ public struct Site: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
124124 self . plan = plan
125125 self . isJetpackThePluginInstalled = isJetpackThePluginInstalled
126126 self . isJetpackConnected = isJetpackConnected
127- self . isWordPressStore = isWordPressStore
127+ self . isWordPressComStore = isWordPressComStore
128128 self . isWooCommerceActive = isWooCommerceActive
129129 self . jetpackConnectionActivePlugins = jetpackConnectionActivePlugins
130130 self . timezone = timezone
@@ -156,7 +156,7 @@ private extension Site {
156156 }
157157
158158 enum OptionKeys : String , CodingKey {
159- case isWordPressStore = " is_wpcom_store "
159+ case isWordPressComStore = " is_wpcom_store "
160160 case isWooCommerceActive = " woocommerce_is_active "
161161 case timezone = " timezone "
162162 case gmtOffset = " gmt_offset "
0 commit comments