5.3 Released

  • Improvement: Added filter to allow Activity Levels to be overridden (wlt-filter-activity-levels)
  • Improvement: Added filter to allow Aims to be overridden (wlt-filter-aims)
  • Improvement: Added filter to allow BMR calculation to be overridden (wlt-filter-bmr-calculation)
  • Improvement: Added filter to allow Macro calculation per meal to be overridden (wlt-filter-macros-[key])
  • Improvement: Added filter to allow Macro calculations per total to be overridden (wlt-filter-macros-[key]-total)
  • Improvement: Added filter to allow all Macro calculations to be overridden (wlt-filter-macros)
  • Improvement: Added filter to display an additional field below gender on user preferences form (wlt-filter-user-settings-below-gender)
  • Improvement: Added filter to change a user’s setting (‘wlt-filter-user-setting-[key])
  • Improvement: Added filter to allow calories to be overridden (wlt-filter-calories-lose)
  • Improvement: Added filter to allow calories to maintain weight to be overridden (wlt-filter-calories-maintain)
  • Improvement: Added filter to allow calories to lose weight to be overridden (wlt-filter-calories-lose)
  • Improvement: Added filter to allow table rows to be filtered in Harris Benedict tables (wlt-filter-harris-benedict-rows)
  • Improvement: Added filter to allow default macros to be specified and override WLT plugin. (wlt-filter-macros-custom)
  • Improvement: Added filter to allow specify what types of calories should be converted into macros. wlt-filter-macros-calculate)
  • Improvement: Added filter to allow specify what types of macros should be displayed. wlt-filter-macros-display)

5.2.23 Released

  • Bug fix: CSV export. If the column is missing in underlying data then add a dummy field.
  • Bug fix: Only display users on the stats table if they still exist in WP Users table.
  • Bug fix: Correct display Pro Plus license price from Yeken Data feed.
  • Bug fix: Only tell YeKen of license deactivation when one actually occurs.
  • Bug fix: Fixed wpdb->prepare() errors thrown on user search.
  • Reviewed data santisation and where required called relevant WordPress functions to sanitise user data.
  • Removed redundant files.
  • Removed commented lines of code.

5.2.22 Released

  • Bug fix: Only display users on the stats table if they still exist in WP Users table.
  • Bug fix: Correct display Pro Plus license price from Yeken Data feed.
  • Bug fix: Only tell YeKen of license deactivation when one actually occurs.
  • Reviewed data santisation and where required called relevant WordPress functions to sanitise user data.
  • Removed redundant files.
  • Removed commented lines of code.

5.2.18 Released

  • Improvement: Added options to allow admins to specify a fill colour and opacity under the weight line on charts.
  • Improvement: Added new options to allow admins to specify font family and colour for charts.
  • Updated Chart.js to 2.7.1

5.2.16 Released

  • Improvement: Added additional argument for [wlt] shortcode that disables the check to see if [wlt] has already been placed on the page. Some users (and clashing plugins) were causing it to fail.
  • Bug fix: Allow decimal entries for pounds (when in stones and pounds).
  • Bug fix: When display comparison values, a rounding to one decimal place was causing the difference values to be slightly out. This has been changed to two decimals.

5.2.12 Released

  • Improvement: Refactored User preferences code so it can be extended.
  • Improvement: Added new filters “wlt-filter-admin-user-sidebar-top”, “wlt-filter-admin-user-sidebar-middle” and “wlt-filter-admin-user-sidebar-bottom” to allow developers to add HTML to user sidebar in “Manage Data”.
  • Improvement: Added new filter “wlt-filter-js-ws-ls-config” to allow developers to filter JS config.
  • Improvement: Added new filter “wlt-filter-user-settings-below-aim” to allow developers to add to the User settings page.
  • Improvement: Added the filters ‘wlt-filter-user-settings-db-formats’ and ‘wlt-filter-user-settings-save-fields’ to allow a developer to save other user preference fields.
  • Bug fix: Stopped [wlt-calories] and [wlt-macronutrients] throwing an error when the user was logged out. Thanks @MARKONEX
  • Big fix: Fixed a bug where “Your modifications have been saved” message was always being shown on [wlt-table] shortcode.
  • Database schema changes for future releases.