Add new action hook argument and fix PHP warnings

Introduced a 2nd `$args` parameter to the 'um_cover_area_content' action hook for greater flexibility. Also resolved PHP warnings related to roles without metadata to ensure smoother functionality.
This commit is contained in:
Mykyta Synelnikov
2025-11-18 14:39:38 +02:00
parent 53828dd76d
commit a0e6ab5d2f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -5,6 +5,7 @@
* Enhancements:
- Added: Extra condition for checking the license activation requests.
- Added: 2nd `$args` attribute to the action hook 'um_cover_area_content'.
- Tweak: Updated `Extensions_Updater` class to use Action Scheduler in the upgrade process of the UM extensions.
* Bugfixes:
@@ -12,6 +13,7 @@
- Fixed: User profile links in the comments section on the frontend when the `$comment->user_id` is empty.
- Fixed: The `emotize` function regexp for better emoji converting.
- Fixed: The conflict between the image uploader and lazy-loading attribute added by 3rd-party plugins.
- Fixed: PHP warnings for roles without meta data.
- Fixed: Typo in labels.
= 2.10.6 October 02, 2025 =
+2
View File
@@ -172,6 +172,7 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI
**Enhancements**
* Added: Extra condition for checking the license activation requests.
* Added: 2nd `$args` attribute to the action hook 'um_cover_area_content'.
* Tweak: Updated `Extensions_Updater` class to use Action Scheduler in the upgrade process of the UM extensions.
**Bugfixes**
@@ -179,6 +180,7 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI
* Fixed: User profile links in the comments section on the frontend when the `$comment->user_id` is empty.
* Fixed: The `emotize` function regexp for better emoji converting.
* Fixed: The conflict between the image uploader and lazy-loading attribute added by 3rd-party plugins.
* Fixed: PHP warnings for roles without meta data.
* Fixed: Typo in labels.
= 2.10.6 2025-10-02 =