You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
The final file name is strange for non-English user name.
E.g. user "Karolína Mílová" generates file names "karolana-malova_avatar.jpg" rather than "karolina-milova_avatar.jpg".
Wouldn't be better to use something like $user->user_nicename which is already URL sanitized instead of $user->display_name in unique_filename_callback function?
The final file name is strange for non-English user name.
E.g. user "Karolína Mílová" generates file names "karolana-malova_avatar.jpg" rather than "karolina-milova_avatar.jpg".
Wouldn't be better to use something like
$user->user_nicename
which is already URL sanitized instead of$user->display_name
inunique_filename_callback
function?basic-user-avatars/init.php
Line 538 in 606d8a6
The text was updated successfully, but these errors were encountered: