Skip to content

Commit a2321ae

Browse files
authored
Merge pull request #627 from wordpress-mobile/task/21635-exclude-dot-blog-subdomains-for-free-and-paid-query-type
Exclude dot blog subdomains from freeAndPaid domain query
2 parents c2e8e48 + 59141f1 commit a2321ae

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ _None._
4848

4949
_None._
5050

51+
## 8.5.2
52+
53+
### Bug Fixes
54+
55+
- Exclude dot blog subdomains from freeAndPaid domain query [#627]
56+
5157
## 8.5.1
5258

5359
### Bug Fixes

WordPressKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressKit'
5-
s.version = '8.5.1'
5+
s.version = '8.5.2'
66

77
s.summary = 'WordPressKit offers a clean and simple WordPress.com and WordPress.org API.'
88
s.description = <<-DESC

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)