Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit c314cbe

Browse files
authored
Merge release 8.9.1 (#639)
2 parents 2c16a17 + 933be5d commit c314cbe

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ _None._
3636

3737
_None._
3838

39+
### New Features
40+
41+
_None._
42+
3943
### Bug Fixes
4044

4145
_None._
@@ -44,6 +48,12 @@ _None._
4448

4549
_None._
4650

51+
## 8.9.1
52+
53+
### Bug Fixes
54+
55+
- Reverted adding `tag` parameter to `PostServiceRemoteOptions`. Breaking change in 8.8.0. [#639]
56+
4757
## 8.9.0
4858

4959
### New Features

WordPressKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressKit'
5-
s.version = '8.9.0'
5+
s.version = '8.9.1'
66

77
s.summary = 'WordPressKit offers a clean and simple WordPress.com and WordPress.org API.'
88
s.description = <<-DESC

WordPressKit/PostServiceRemoteOptions.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,4 @@ typedef NS_ENUM(NSUInteger, PostServiceResultsOrdering) {
7777
*/
7878
- (NSString *)meta;
7979

80-
/**
81-
The tag to filter by.
82-
*/
83-
- (NSString *)tag;
84-
8580
@end

WordPressKit/PostServiceRemoteREST.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
static NSString * const RemoteOptionKeySearch = @"search";
1818
static NSString * const RemoteOptionKeyAuthor = @"author";
1919
static NSString * const RemoteOptionKeyMeta = @"meta";
20-
static NSString * const RemoteOptionKeyTag = @"tag";
2120

2221
static NSString * const RemoteOptionValueOrderAscending = @"ASC";
2322
static NSString * const RemoteOptionValueOrderDescending = @"DESC";
@@ -419,10 +418,7 @@ - (NSDictionary *)dictionaryWithRemoteOptions:(id <PostServiceRemoteOptions>)opt
419418
if (options.meta.length > 0) {
420419
[remoteParams setObject:options.meta forKey:RemoteOptionKeyMeta];
421420
}
422-
if (options.tag.length > 0) {
423-
[remoteParams setObject:options.tag forKey:RemoteOptionKeyTag];
424-
}
425-
421+
426422
return remoteParams.count ? [NSDictionary dictionaryWithDictionary:remoteParams] : nil;
427423
}
428424

0 commit comments

Comments
 (0)