This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ _None._
4747### New Features
4848
4949- Add ` tag ` parameter to ` PostServiceRemoteOptions ` [ #634 ]
50+ - Add ` transfer ` case to ` DomainType ` case [ #642 ]
5051
5152## 8.10.0
5253
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Foundation
44 case registered
55 case mapped
66 case siteRedirect
7+ case transfer
78 case wpCom
89
910 public var description : String {
@@ -16,6 +17,8 @@ import Foundation
1617 return NSLocalizedString ( " Site Redirect " , comment: " Describes a site redirect domain " )
1718 case . wpCom:
1819 return NSLocalizedString ( " Included with Site " , comment: " Describes a standard *.wordpress.com site domain " )
20+ case . transfer:
21+ return NSLocalizedString ( " Transferred Domain " , comment: " Describes a domain that was transferred from elsewhere to wordpress.com " )
1922 }
2023 }
2124
@@ -30,6 +33,8 @@ import Foundation
3033 init ( type: String ? , wpComDomain: Bool ? , hasRegistration: Bool ? ) {
3134 if type == " redirect " {
3235 self = . siteRedirect
36+ } else if type == " transfer " {
37+ self = . transfer
3338 } else if wpComDomain == true {
3439 self = . wpCom
3540 } else if hasRegistration == true {
You can’t perform that action at this time.
0 commit comments