Skip to content

Commit a7a8336

Browse files
committed
EE 7.2.2
1 parent d1204b3 commit a7a8336

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

docs/installation/changelog.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,35 @@
88
-->
99
# ExpressionEngine v7 Change Log
1010

11+
## Version 7.2.2
12+
(Release: November 28, 2022)
13+
14+
- **Contributors** 🙌
15+
<div class="max-w-7xl mx-autotext-center">
16+
<div class="space-y-8 sm:space-y-12">
17+
<ul role="list" class="mx-auto grid grid-cols-2 gap-x-4 gap-y-1 sm:grid-cols-4 md:gap-x-6 lg:max-w-5xl lg:gap-x-8 lg:gap-y-1 xl:grid-cols-5">
18+
<li><div class="space-y-4 text-center"><img class="mx-auto h-20 w-20 rounded-full lg:w-24 lg:h-24" src="https://avatars.githubusercontent.com/u/422821?v=4" /><div class="space-y-2"><div class="text-xs font-medium lg:text-sm"><p class="mb-1">TomJaeger</p><p class="text-indigo-600"><a href="https://github.com/ExpressionEngine/ExpressionEngine/commits?author=TomJaeger" target="_BLANK">@TomJaeger</a></p></div></div></div></li>
19+
<li><div class="space-y-4 text-center"><img class="mx-auto h-20 w-20 rounded-full lg:w-24 lg:h-24" src="https://avatars.githubusercontent.com/u/11818941?v=4" /><div class="space-y-2"><div class="text-xs font-medium lg:text-sm"><p class="mb-1">Matt Johnson</p><p class="text-indigo-600"><a href="https://github.com/ExpressionEngine/ExpressionEngine/commits?author=matthewjohns0n" target="_BLANK">@matthewjohns0n</a></p></div></div></div></li>
20+
<li><div class="space-y-4 text-center"><img class="mx-auto h-20 w-20 rounded-full lg:w-24 lg:h-24" src="https://avatars.githubusercontent.com/u/23382425?v=4" /><div class="space-y-2"><div class="text-xs font-medium lg:text-sm"><p class="mb-1">Yulya Lebed</p><p class="text-indigo-600"><a href="https://github.com/ExpressionEngine/ExpressionEngine/commits?author=Yulyaswan" target="_BLANK">@Yulyaswan</a></p></div></div></div></li>
21+
<li><div class="space-y-4 text-center"><img class="mx-auto h-20 w-20 rounded-full lg:w-24 lg:h-24" src="https://avatars.githubusercontent.com/u/752126?v=4" /><div class="space-y-2"><div class="text-xs font-medium lg:text-sm"><p class="mb-1">Yuri Salimovskiy</p><p class="text-indigo-600"><a href="https://github.com/ExpressionEngine/ExpressionEngine/commits?author=intoeetive" target="_BLANK">@intoeetive</a></p></div></div></div></li>
22+
</ul>
23+
</div>
24+
</div>
25+
26+
- **Enhancements** 🚀
27+
- Added `{logged_in_primary_role_short_name}` global member variable; [#2491](https://github.com/ExpressionEngine/ExpressionEngine/issues/2491)
28+
29+
- **Bug Fixes** 💃🐛
30+
- Resolved [#2107](https://github.com/ExpressionEngine/ExpressionEngine/issues/2107) where Cookie Consents were not fully installed when updating from EE2
31+
- Resolved [#2439](https://github.com/ExpressionEngine/ExpressionEngine/issues/2439) where channel form CSS link was returning 404 error
32+
- Resolved [#2532](https://github.com/ExpressionEngine/ExpressionEngine/issues/2532) where Edit Profile form could show error when used on same page with channel entries tag
33+
- Resolved issue where calculating file usage could show PHP error if some upload destination was missing
34+
- Resolved [#2525](https://github.com/ExpressionEngine/ExpressionEngine/issues/2525) where using `channel="not ..."` parameter was returning no results on `{exp:channel:entries}`
35+
- Resolved [#2497](https://github.com/ExpressionEngine/ExpressionEngine/issues/2361) where `categories` parameter did not work on relationship `siblings` and `parents` tags
36+
- Resolved [#2505](https://github.com/ExpressionEngine/ExpressionEngine/issues/2505) where Stats module could show PHP error when using PHP 8.1
37+
- Resolved bug with create generic migration in CLI
38+
- Fixed some CP styles
39+
1140
## Version 7.2.1
1241
(Release: November 21, 2022)
1342

docs/templates/conditionals.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,11 @@ You can test against the Primary Role of the currently logged in user.
326326

327327
{if logged_in_primary_role_name *= 'games'} Shall we play a game? {/if}
328328

329-
You can test against the primary role name of the currently logged in user.
329+
### `logged_in_primary_role_short_name`
330+
331+
{if logged_in_primary_role_short_name == 'super_admin'} Secret content {/if}
332+
333+
Check against the short name of primary role for the currently logged in user.
330334

331335
### `logged_in_primary_role_description`
332336

docs/templates/globals/single-variables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ The Primary Role ID number for the currently logged-in user.
267267

268268
The title of the Primary Role for the currently logged-in user.
269269

270+
### `{logged_in_primary_role_short_name}`
271+
272+
The short name of the Primary Role for the currently logged-in user.
273+
270274
### `{logged_in_primary_role_description}`
271275

272276
The Primary Role description for the currently logged-in user.

0 commit comments

Comments
 (0)