From a0e6ab5d2fa8b336c6ac4b00b9a2545cc28d95a8 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 18 Nov 2025 14:39:38 +0200 Subject: [PATCH] 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. --- changelog.txt | 2 ++ readme.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/changelog.txt b/changelog.txt index de9fe115..5c96e988 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 = diff --git a/readme.txt b/readme.txt index f17dc7d0..fba8bf26 100644 --- a/readme.txt +++ b/readme.txt @@ -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 =