Skip to content

Commit 2846106

Browse files
committed
Add autoSuggestedFeaturedImage
1 parent d46b5be commit 2846106

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/WordPressKit/Models/RemoteReaderPost.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
@property (nonatomic, strong) NSNumber *commentCount;
1818
@property (nonatomic) BOOL commentsOpen;
1919
@property (nonatomic, strong) NSString *featuredImage;
20+
@property (nonatomic, strong) NSString *autoSuggestedFeaturedImage;
2021
@property (nonatomic, strong) NSNumber *feedID;
2122
@property (nonatomic, strong) NSNumber *feedItemID;
2223
@property (nonatomic, strong) NSString *globalID;

Sources/WordPressKit/Models/RemoteReaderPost.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ - (instancetype)initWithDictionary:(NSDictionary *)dict;
109109
self.content = [self postContentFromPostDictionary:dict];
110110
self.date_created_gmt = [self stringOrEmptyString:[dict stringForKey:PostRESTKeyDate]];
111111
self.featuredImage = [self featuredImageFromPostDictionary:dict];
112+
self.autoSuggestedFeaturedImage = [self featuredMediaImageFromPostDictionary:dict];
112113
self.feedID = [dict numberForKey:PostRESTKeyFeedID];
113114
self.feedItemID = [dict numberForKey:PostRESTKeyFeedItemID];
114115
self.globalID = [self stringOrEmptyString:[dict stringForKey:PostRESTKeyGlobalID]];

0 commit comments

Comments
 (0)