diff --git a/docs/installation/changelog.md b/docs/installation/changelog.md index 3791658da..b620e89b5 100755 --- a/docs/installation/changelog.md +++ b/docs/installation/changelog.md @@ -8,6 +8,39 @@ --> # ExpressionEngine v7 Change Log +## Version 7.2.2 +(Release: November 28, 2022) + +- **Contributors** 🙌 +
+
+ +
+
+ +- **Enhancements** 🚀 + - Added `{logged_in_primary_role_short_name}` global member variable; [#2491](https://github.com/ExpressionEngine/ExpressionEngine/issues/2491) + - Added inline error handling for member registration form + +- **Bug Fixes** 💃🐛 + - Resolved [#2107](https://github.com/ExpressionEngine/ExpressionEngine/issues/2107) where Cookie Consents were not fully installed when updating from EE2 + - Resolved [#2439](https://github.com/ExpressionEngine/ExpressionEngine/issues/2439) where channel form CSS link was returning 404 error + - 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 + - Resolved issue where calculating file usage could show PHP error if some upload destination was missing + - Resolved [#2525](https://github.com/ExpressionEngine/ExpressionEngine/issues/2525) where using `channel="not ..."` parameter was returning no results on `{exp:channel:entries}` + - Resolved [#2497](https://github.com/ExpressionEngine/ExpressionEngine/issues/2361) where `categories` parameter did not work on relationship `siblings` and `parents` tags + - Resolved [#2505](https://github.com/ExpressionEngine/ExpressionEngine/issues/2505) where Stats module could show PHP error when using PHP 8.1 + - Resolved [#2550](https://github.com/ExpressionEngine/ExpressionEngine/issues/2550) where Pro Search did not store IPv6 addresses correctly + - Resolved [#2432](https://github.com/ExpressionEngine/ExpressionEngine/issues/2432) where some Structure queries were slow on large websites + - Resolved bug with create generic migration in CLI + - Fixed some CP styles + - Fixed some PHP 8.1 compatibility issues + ## Version 7.2.1 (Release: November 21, 2022) diff --git a/docs/templates/conditionals.md b/docs/templates/conditionals.md index 3e4d13c32..186bc0ce7 100755 --- a/docs/templates/conditionals.md +++ b/docs/templates/conditionals.md @@ -326,7 +326,11 @@ You can test against the Primary Role of the currently logged in user. {if logged_in_primary_role_name *= 'games'} Shall we play a game? {/if} -You can test against the primary role name of the currently logged in user. +### `logged_in_primary_role_short_name` + + {if logged_in_primary_role_short_name == 'super_admin'} Secret content {/if} + +Check against the short name of primary role for the currently logged in user. ### `logged_in_primary_role_description` diff --git a/docs/templates/globals/single-variables.md b/docs/templates/globals/single-variables.md index 46ea02b54..9cbb9f86c 100755 --- a/docs/templates/globals/single-variables.md +++ b/docs/templates/globals/single-variables.md @@ -267,6 +267,10 @@ The Primary Role ID number for the currently logged-in user. The title of the Primary Role for the currently logged-in user. +### `{logged_in_primary_role_short_name}` + +The short name of the Primary Role for the currently logged-in user. + ### `{logged_in_primary_role_description}` The Primary Role description for the currently logged-in user.