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 +5
-3
lines changed
Sources/WordPressKit/Models Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ let package = Package(
1111 targets: [
1212 . binaryTarget(
1313 name: " WordPressKit " ,
14- url: " https://github.com/user-attachments/files/18209758 /WordPressKit.zip " ,
15- checksum: " 2c9fa7ed59864c01c8af7dc0b5dd8cbc26558799487fad3ab9e128cfbd8dae64 "
14+ url: " https://github.com/user-attachments/files/18378391 /WordPressKit.zip " ,
15+ checksum: " afba972825502b7479ee7dd6bdbe88cda630d19c95f372b85ffc760b9ba60aac "
1616 ) ,
1717 ]
1818)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import Foundation
88 public var path : String ?
99 public var slug : String ?
1010 public var title : String ?
11+ public var displayName : String ?
1112 public var topicDescription : String ?
1213 public var topicID : NSNumber
1314 public var type : String ?
@@ -25,7 +26,8 @@ import Foundation
2526 owner = topicDict. string ( forKey: topicDictionaryOwnerKey)
2627 path = topicDict. string ( forKey: topicDictionaryURLKey) ? . lowercased ( )
2728 slug = topicDict. string ( forKey: topicDictionarySlugKey)
28- title = topicDict. string ( forKey: topicDictionaryDisplayNameKey) ?? topicDict. string ( forKey: topicDictionaryTitleKey)
29+ title = topicDict. string ( forKey: topicDictionaryTitleKey)
30+ displayName = topicDict. string ( forKey: topicDictionaryDisplayNameKey)
2931 type = topicDict. string ( forKey: topicDictionaryTypeKey)
3032 organizationID = topicDict. number ( forKeyPath: topicDictionaryOrganizationIDKey) ?? 0
3133 isSubscribed = subscribed
You can’t perform that action at this time.
0 commit comments