Skip to content

Commit

Permalink
Merge pull request #612 from alicolville/transient-issue
Browse files Browse the repository at this point in the history
Bug fix: Update notices weren't dimissing correctly on live sites.
  • Loading branch information
alicolville committed Sep 14, 2024
2 parents d9e6b13 + 1dbacef commit 09efa36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions includes/marketing.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ function ws_ls_updates_admin_notice() {

ws_ls_updates_display_notice( $json );
}

ws_ls_marketing_update_key_last_dismissed(2);
}
add_action( 'admin_notices', 'ws_ls_updates_admin_notice' );

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: aliakro
Tags: weight,tracker,chart,history,macronutrient
Requires at least: 6.0
Tested up to: 6.5
Stable tag: 10.10.3
Stable tag: 10.10.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -170,6 +170,10 @@ Measurements are created using Custom Fields. You can therefore specify the unit

== Changelog ==

= 10.10.4 =

Bug fix: Update notices weren't dimissing correctly on live sites.

= 10.10.3 =

Forgot to minimise admin.js!
Expand Down
4 changes: 2 additions & 2 deletions weight-loss-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.3
* Version: 10.10.4
* Requires at least: 6.0
* Tested up to: 6.5
* Requires PHP: 7.4
Expand All @@ -17,7 +17,7 @@
* Domain Path: /includes/languages
*/

define( 'WE_LS_CURRENT_VERSION', '10.10.3' );
define( 'WE_LS_CURRENT_VERSION', '10.10.4' );
define( 'WS_LS_ABSPATH', plugin_dir_path( __FILE__ ) );
define( 'WS_LS_BASE_URL', plugin_dir_url( __FILE__ ) );
define( 'WE_LS_TITLE', 'Weight Tracker' );
Expand Down

0 comments on commit 09efa36

Please sign in to comment.