Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 5e647fb

Browse files
committed
Exclude dot blog subdomains from freeAndPaid domain query
- freeAndPaid query on the web excludes dot blog subdomains and only includes wordpress dot com subdomains. Setting the same behavior on iOS
1 parent c2e8e48 commit 5e647fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPressKit/DomainsServiceRemote.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class DomainsServiceRemote: ServiceRemoteWordPressComREST {
7979
case onlyWordPressDotCom
8080
case wordPressDotComAndDotBlogSubdomains
8181

82-
/// Includes free dotcom and dotblog sudomains and paid domains.
82+
/// Includes free dotcom sudomains and paid domains.
8383
case freeAndPaid
8484

8585
case allowlistedTopLevelDomains([String])
@@ -99,7 +99,7 @@ public class DomainsServiceRemote: ServiceRemoteWordPressComREST {
9999
"only_wordpressdotcom": true as AnyObject,
100100
"include_wordpressdotcom": true as AnyObject]
101101
case .freeAndPaid:
102-
return ["include_dotblogsubdomain": true as AnyObject,
102+
return ["include_dotblogsubdomain": false as AnyObject,
103103
"include_wordpressdotcom": true as AnyObject,
104104
"vendor": "mobile" as AnyObject]
105105
case .allowlistedTopLevelDomains(let allowlistedTLDs):

0 commit comments

Comments
 (0)