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 +2
-12
lines changed
Sources/WordPressKit/Models Expand file tree Collapse file tree 2 files changed +2
-12
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/18203178 /WordPressKit.zip " ,
15- checksum: " ceb5ac66cda7b207f123319d6c04c338b90b7657344e7f395f86d36ff9e61f4a "
14+ url: " https://github.com/user-attachments/files/18209758 /WordPressKit.zip " ,
15+ checksum: " 2c9fa7ed59864c01c8af7dc0b5dd8cbc26558799487fad3ab9e128cfbd8dae64 "
1616 ) ,
1717 ]
1818)
Original file line number Diff line number Diff line change @@ -494,16 +494,6 @@ - (NSString *)featuredImageFromPostDictionary:(NSDictionary *)dict
494494 featuredImage = [self userSpecifiedFeaturedImageFromPostDictionary: dict];
495495 }
496496
497- // If that's not present look for an image in featured media
498- if ([featuredImage length ] == 0 ) {
499- featuredImage = [self featuredMediaImageFromPostDictionary: dict];
500- }
501-
502- // As a last resource lets look for a suitable image in the post content
503- if ([featuredImage length ] == 0 ) {
504- featuredImage = [self suitableImageFromPostContent: dict];
505- }
506-
507497 featuredImage = [self sanitizeFeaturedImageString: featuredImage];
508498
509499 return featuredImage;
You can’t perform that action at this time.
0 commit comments