Skip to content

Commit 03009da

Browse files
Merge release/25.6 into trunk (#23985)
* Don’t send/store cookies for EU-US DPA geolookup (#23982) * Update app translations – `Localizable.strings` * Bump version number --------- Co-authored-by: Jeremy Massel <[email protected]>
1 parent 07a4473 commit 03009da

File tree

6 files changed

+309
-9
lines changed

6 files changed

+309
-9
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import WordPressKit
22

33
class ComplianceLocationService {
4+
private let session = URLSession(configuration: .ephemeral)
5+
46
func getIPCountryCode(completion: @escaping (Result<String, Error>) -> Void) {
5-
IPLocationRemote().fetchIPCountryCode(completion: completion)
7+
IPLocationRemote(urlSession: session).fetchIPCountryCode(completion: completion)
68
}
79
}

0 commit comments

Comments
 (0)