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.
Improvement: Added an Advanced tab to [wlt] shortcode to display a BMI, BMR, Calories and Macronutrients. This tab can be hidden with the attribute “hide-tab-advanced” – Read more: https://weight.yeken.uk/shortcodes/
Improvement: Added a Photos tab to [wlt] shortcode to display a gallery. This tab can be hidden with the attribute “hide-tab-photos” – Read more: https://weight.yeken.uk/shortcodes/
Improvement: Added footable.js to Macronutrient and Calorie tables in Admin (tables looks a lot better in responsive mode).
Improvement: Added “alternate” class for Macronutrient table to make alternative rows stand out.
Bug fix: Ensured “No data found” can be translated on data tables.