Skip to content

Commit

Permalink
Merge pull request #607 from alicolville/polyfill
Browse files Browse the repository at this point in the history
10.9.2
  • Loading branch information
alicolville authored Sep 1, 2024
2 parents 9bb737a + e5521e0 commit eb756b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 1 addition & 2 deletions includes/core-charting.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ function ws_ls_charting_enqueue_scripts() {

$minified = ws_ls_use_minified();

wp_enqueue_script( 'ws-ls-chart-js-polyfill', 'https://polyfill.io/v3/polyfill.min.js?features=ResizeObserver', [ 'jquery' ], WE_LS_CURRENT_VERSION );
wp_enqueue_script( 'ws-ls-chart-js', WE_LS_CDN_CHART_JS, [ 'jquery', 'ws-ls-chart-js-polyfill' ], WE_LS_CURRENT_VERSION );
wp_enqueue_script( 'ws-ls-chart-js', WE_LS_CDN_CHART_JS, [ 'jquery' ], WE_LS_CURRENT_VERSION );
wp_enqueue_script( 'jquery-chart-ws-ls', plugins_url( '../assets/js/ws-ls-chart' . $minified . '.js', __FILE__ ), [ 'ws-ls-chart-js' ], WE_LS_CURRENT_VERSION, true );
}
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: aliakro
Tags: weight,tracker,chart,history,macronutrient
Requires at least: 6.0
Tested up to: 6.61
Stable tag: 10.9.1
Tested up to: 6.5
Stable tag: 10.9.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -152,6 +152,10 @@ Measurements are created using Custom Fields. You can therefore specify the unit

== Changelog ==

= 10.9.2 =

* Security fix: Removed reference to PolyFill ResizeObserver

= 10.9.1 =

* Bug fix: Entries were not showing on [wt] chart if they had no weight.
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.9.1
* Version: 10.9.2
* Requires at least: 6.0
* Tested up to: 6.5
* Requires PHP: 7.4
Expand All @@ -18,7 +18,7 @@
*/

define( 'WS_LS_ABSPATH', plugin_dir_path( __FILE__ ) );
define( 'WE_LS_CURRENT_VERSION', '10.9.1' );
define( 'WE_LS_CURRENT_VERSION', '10.9.2' );
define( 'WE_LS_TITLE', 'Weight Tracker' );
define( 'WE_LS_SLUG', 'weight-loss-tracker' );
define( 'WE_LS_LICENSE_TYPES_URL', 'https://docs.yeken.uk/features.html' );
Expand Down

0 comments on commit eb756b5

Please sign in to comment.