From 6d379a29857034a065ca3a7e415f94d0a3f4ab52 Mon Sep 17 00:00:00 2001 From: Ali Colville Date: Fri, 23 Sep 2022 21:12:17 +0100 Subject: [PATCH] Bug fix: Corrected issue where notifications aren't shown in Kiosk mode. --- pro-features/plus/messaging/hooks.php | 2 +- readme.txt | 6 +++++- weight-loss-tracker.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pro-features/plus/messaging/hooks.php b/pro-features/plus/messaging/hooks.php index 7816c94a..9d9b73b5 100644 --- a/pro-features/plus/messaging/hooks.php +++ b/pro-features/plus/messaging/hooks.php @@ -128,7 +128,7 @@ function ws_ls_notifications_shortcode( $user_defined_arguments, $disable_pro_ch 'message-no-data' => '' ], $user_defined_arguments ); - $notifications = ws_ls_messaging_db_select( $arguments[ 'user-id'], NULL, false, true, false ); + $notifications = ws_ls_messaging_db_select( $arguments[ 'user-id'], NULL, false, true ); $html = ''; if ( false === empty( $notifications ) ) { diff --git a/readme.txt b/readme.txt index ff0bc758..4e5f7b91 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: aliakro Tags: weight,tracker,chart,bmi,bmr,macronutrient,measure,awards,custom fields,history,measurements,data Requires at least: 5.7 Tested up to: 6.0.2 -Stable tag: 10.2.6 +Stable tag: 10.2.7 Requires PHP: 7.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -150,6 +150,10 @@ Measurements are created using Custom Fields. You can therefore specify the unit == Changelog == += 10.2.7 = + +* Bug fix: Corrected issue where notifications aren't shown in Kiosk mode. + = 10.2.6 = * Removed additional marketing from help page. diff --git a/weight-loss-tracker.php b/weight-loss-tracker.php index 924c9ae2..ed351bff 100755 --- a/weight-loss-tracker.php +++ b/weight-loss-tracker.php @@ -5,7 +5,7 @@ /** * Plugin Name: Weight Tracker * Description: Allow your users to track their weight, body measurements, photos and other pieces of custom data. Display in charts, tables, shortcodes and widgets. Manage their data, issue awards, email notifications, etc! Provide advanced data on Body Mass Index (BMI), Basal Metabolic Rate (BMR), Calorie intake, Harris Benedict Formula, Macronutrients Calculator and more. - * Version: 10.2.6 + * Version: 10.2.7 * Requires at least: 5.7 * Tested up to: 6.0.2 * Requires PHP: 7.2