5.2 Released

  • Photo Uploads!
    • New field on attachments “Don’t show to public” (set to true by default) to stop user photo’s being rendered on standard attachment pages.
    • Users can now upload / replace / remove a photo alongside their weight / measurement entries.
    • Admin can view all photos uploaded by a user.
    • Admin can upload / replace / remove a user’s photo.
    • New shortcode [wlt-photo-count] to display the number of photos uploaded by the user – Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-photo-oldest] to display the user’s oldest photo – Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-photo-recent] to display the user’s most recent photo – Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-gallery] to display the user’s most recent photo – Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added “css-class” argument for [wlt-macronutrients-table] shortcode – Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added “css-class” argument for [wlt-calories-table] shortcode – Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Standard Pro Users can now upgrade to Pro Plus for 50% cheaper!
  • Improvement: [wlt] shortcode has a new argument “hide-photos”. If set to true, the photo section of the form will be hidden. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added field “photo” to [wlt-if] shortcode. Allows you to check if the user has uploaded a photo.
  • Improvement: New hook “wlt-hook-data-entry-deleted” created. Fired when an entry is deleted.
  • Improvement: Removed DataTables.js and replaced with Footable.js for advanced data tables. This keeps the front end consistent with admin area.
  • Improvement: [wlt-table] has a new argument to disable data being edited / deleted “enable-add-edit”. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: [wlt-table] user’s now have the option to edit their data with this shortcode (not just delete).
  • Improvement: Tweaked form headers to say “Edit” intead of “Add” when editing an entry.
  • Improvement: Editing an entry is done using PHP and HTML. jQuery / Ajax has been removed so more reliable.
  • Improvement: Re-factored all to use one function to keep things consistent.
  • Improvement: Added French-speaking Canada (Québec), French-speaking Belgium and French-speaking Switzerland- thanks Pierre
  • Improvement: Updated French language – thanks Pierre
  • Bug fix: When display a user’s weight entries on Search results, if there are no entries, display nothing instead of 0[weight unit]
  • Bug fix: Don’t display “Difference form target” if there is no recent or target weights to calculate from.
  • Bug fix: Fixed locale issues in data tables.
  • Removed “(needed for BMR)” from setting fields.

Leave a Reply