Skip to content

Commit 6b765bd

Browse files
committed
Bump readme and changelog for v2.2
1 parent 2ef617f commit 6b765bd

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
== Changelog ==
22

3+
=2.2=
4+
* Ignore whitespace image captions
5+
* Filter organization memberships by role
6+
37
=2.1=
48
* Scope dependencies via php-scoper
59
* Fix content parsing bug

php/WordPressCoyoteApiClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,16 @@ public static function getValidOrganizations(): array
133133
);
134134
}
135135

136-
public static function getOrganizationMembership(ProfileModel $profile = null, string $organisationId = null): ?MembershipModel
136+
public static function getOrganizationMembership(ProfileModel $profile = null, string $organizationId = null): ?MembershipModel
137137
{
138-
if (is_null($profile) || is_null($organisationId)) {
138+
if (is_null($profile) || is_null($organizationId)) {
139139
return null;
140140
}
141141

142142
return CoyoteApiClientHelperFunctions::getOrganisationMembershipWithName(
143143
self::getVersionedApiURI(),
144144
PluginConfiguration::getApiToken(),
145-
$organisationId,
145+
$organizationId,
146146
$profile->getName()
147147
);
148148
}

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: jkva
33
Requires at least: 5.0.0
44
Tested up to: 6.0
55
Requires PHP: 7.0
6-
Stable tag: 2.1
6+
Stable tag: 2.2
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -26,6 +26,10 @@ Please familiarise yourself with the [Coyote Terms of Service](https://www.coyot
2626

2727
== Changelog ==
2828

29+
=2.2=
30+
* Ignore whitespace image captions
31+
* Filter organization memberships by role
32+
2933
=2.1=
3034
* Scope dependencies via php-scoper
3135
* Fix content parsing bug

0 commit comments

Comments
 (0)