We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f322613 commit 9766805Copy full SHA for 9766805
Sources/WordPressData/Swift/PostHelper+Metadata.swift
@@ -24,9 +24,6 @@ extension PostHelper {
24
public static func mapDictionaryToMetadataItems(_ dictionary: [String: Any]) -> RemotePostMetadataItem? {
25
let id = dictionary["id"]
26
let value = dictionary["value"]
27
- if let value {
28
- wpAssert(value is String, "only strings are currently supported by WordPressKit")
29
- }
30
return RemotePostMetadataItem(
31
id: (id as? String) ?? (id as? NSNumber)?.stringValue,
32
key: dictionary["key"] as? String,
0 commit comments