Releases: 10up/simple-local-avatars
Releases · 10up/simple-local-avatars
2.2.0
Added
$args
parameter toget_simple_local_avatar
function (props @dinhtungdu, @heyjones, @dkotter, @sumnercreations, @dshanske via #40)Simple_Local_Avatars::get_avatar_data()
,Simple_Local_Avatars::get_simple_local_avatar_url()
, andSimple_Local_Avatars::get_default_avatar_url()
, methods (props @dinhtungdu, @heyjones, @dkotter, @sumnercreations, @dshanske via #40)- Ability to retrieve avatar with
WP_Post
object (props @oscarssanchez, @blobaugh via #47) - Add class and ID to Avatar section on Profile Page to allow easier styling of the section (props @dinhtungdu via #54)
- WP Acceptance test coverage (props @dinhtungdu via #53)
Changed
- Switched to
pre_get_avatar_data
filter (props @dinhtungdu, @heyjones, @dkotter, @sumnercreations, @dshanske via #40) assign_new_user_avatar
function made public (props @tripflex via #48)- Split the main class into its own file, added unit tests, and set up testing GitHub action (props @dinhtungdu, @helen, @stevegrunwell via #59)
- New plugin banner and icon (props @JackieKjome via #52)
- Bump WordPress version "tested up to" 5.5 (props @Waka867, @tmoorewp, @jeffpaul, @dinhtungdu via #36, #43, #52)
- GitHub Actions from HCL to YAML workflow syntax (props @jeffpaul via #37)
- Documentation updates (props @jeffpaul via #29, #30, #33, #45, #50, #52)
Fixed
- Initialize
Simple_Local_Avatars
on the$simple_local_avatars
global, enabling bundling plugin with composer (props @pdewouters, @adamsilverstein via #34)
Removed
get_avatar
fuinction that overrides the core function (props @dinhtungdu, @heyjones, @dkotter, @sumnercreations, @dshanske via #40)
View all the closed issues for 2.2.0.
2.1.1
2.1
- New: All avatar uploads now go into the media library. Don’t worry – users without the ability to upload files cannot otherwise see the contents of your media library. This allows local avatars to respect other functionality your site may have around uploaded images, such as external hosting.
- New: REST API support for getting and updating.
- New: Use .org language packs rather than bundling translations.
- Fixed: Avoid an ArgumentCountError.
- Fixed: A couple of internationalization issues.