Fixes “foreach” warning in debug mode when updating avatar image.
Properly deletes old avatars upon changing avatar.
Other minor under the hood optimizations.
Fix rare uninstall issues related to deleted avatars.
Fix path issues on some IIS servers (resulting in missing avatar images).
#Where to delete avatar update files xexmenu 1.2 upgrade
Fix for avatars uploaded pre-1.2.1 having a broken path after upgrade.
Support for front end avatar uploads (e.g.
Avatar file name saved as “user-display-name_avatar” (or other image extension).
Optimization for WordPress 3.2 / 3.3 (substitutes deprecated function).
Bug fixes (most notably correct naming of image files based on user display name).
Brazilian Portuguese and Belarusian translations.
Assorted refactoring / improvements under the hood.
Hungarian translation added (needs further updating again with new version).
Fixed translations not working on front end (although translations are now a bit out of date…).
Upgraded functions deprecated since WordPress 3.5.
New developer filter for limiting upload size: simple_local_avatars_upload_limit.
New developer filter for preventing automatic rescaling: simple_local_avatars_dynamic_resize.
Uploaded avatar file names are appended with the timestamp, addressing browser image caching issues.
Delete the local avatar with a single button click (like everywhere else in WordPress).
A new setting under Discussion enables administrators to turn off Gravatar (only use local avatars).
Local avatars are rated for appropriateness, just like Gravatar.
Choose or upload an avatar from the media library (for users with appropriate capabilities)!.
Fixed: A couple of internationalization issues.
org language packs rather than bundling translations.
New: REST API support for getting and updating.
This allows local avatars to respect other functionality your site may have around uploaded images, such as external hosting. Don’t worry – users without the ability to upload files cannot otherwise see the contents of your media library.
New: All avatar uploads now go into the media library.
This was occasionally dumping avatars when WordPress uploads were stored elsewhere, e.g.
Added: $args parameter to get_simple_local_avatar function (props Added: Simple_Local_Avatars::get_avatar_data(), Simple_Local_Avatars::get_simple_local_avatar_url(), and Simple_Local_Avatars::get_default_avatar_url() methods (props Added: Ability to retrieve avatar with WP_Post object (props Added: class and ID to Avatar section on Profile Page to allow easier styling (props Added: WP Acceptance test coverage (props Changed: Switched to pre_get_avatar_data filter (props Changed: assign_new_user_avatar function to public (props Changed: Split the main class into its own file, added unit tests, and set up testing GitHub action (props Changed: New plugin banner and icon (props Changed: Bump WordPress version “tested up to” 5.5 (props Changed: GitHub Actions from HCL to YAML workflow syntax (props Changed: Documentation updates (props Fixed: Initialize Simple_Local_Avatars on the $simple_local_avatars global, enabling bundling plugin with composer (props Removed: get_avatar function that overrides the core function (props Fixed: Do not delete avatars just because they don’t exist on the local filesystem.