Описание
Добавляет поле загрузки аватара в профили пользователей, если текущий пользователь имеет разрешение на загрузку медиа. Генерирует требуемые размеры по запросу, как и Gravatar! Просто и легко.
Просто зайдите в редактор профиля пользователя и прокрутите вниз до нового поля «Аватар». Плагин позаботится об обрезке и размерах!
- Сохраняет аватары в папке «uploads», где хранятся все ваши медиафайлы.
- Простой и привычный интерфейс.
- Полностью поддерживает Gravatar и аватары по умолчанию, если для пользователя не установлен локальный аватар, но также позволяет отключить Gravatar.
- Подгоняет размер аватара по требованию (и сохраняет новый размер для повышения эффективности), поэтому он отлично выглядит, как и Gravatar!
- Позволяет вам решать, могут ли пользователи с более низкими привилегиями (подписчики, участники) загружать свой собственный аватар.
- Позволяет оценивать локальные аватары, как и Gravatar.
Support Level
Simple Local Avatars’ support level is marked as stable. 10up is not planning to develop any new features for this, but will still respond to bug reports and security concerns. We welcome PRs, but any that include new features should be small and easy to integrate and should not include breaking changes. We otherwise intend to keep this tested up to the most recent version of WordPress.
Установка
- Легко установите с помощью панели управления плагином WordPress или вручную загрузите распакованный плагин в каталог
/wp-content/plugins/ - Активируйте плагин используя меню ‘Плагины’ в WordPress
- Если вы хотите, чтобы аватары загружали только пользователи с возможностью загрузки файлов, проверьте соответствующую опцию в разделе «Настройки» > «Обсуждение»
- Начните загружать аватары, редактируя профили пользователей!
Используйте аватары в своей теме, встраивая стандартную функцию get_avatar() WordPress: https://codex.wordpress.org/Function_Reference/get_avatar
Вы также можете использовать get_simple_local_avatar() (с теми же аргументами), чтобы получить локальные аватары немного быстрее, но это сделает вашу тему зависимой от этого плагина.
Часто задаваемые вопросы
-
Does Simple Local Avatars collect personal data of website visitors?
-
No. Simple Local Avatars neither collects, stores, nor sends any PII data of visitors or avatar users on the host site or to 10up or other services.
-
Where do I report security bugs found in this plugin?
-
Please report security bugs found in the source code of the Simple Local Avatars plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
Отзывы
Участники и разработчики
«Simple Local Avatars» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Simple Local Avatars» переведён на 22 языка. Благодарим переводчиков за их работу.
Перевести «Simple Local Avatars» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
2.8.6 — 2026-02-17
- Changed: Bump WordPress «tested up to» version 6.9 (props @peterwilsoncc, @dkotter via #352).
- Changed: Consider
get_avatar()wrapper functionget_simple_local_avatar()escaped (props @peterwilsoncc, @dkotter via #358). - Changed: Consider
wp_verify_nonce()as auto-sanitized (props @peterwilsoncc, @dkotter via #358). - Fixed: Ensure form data is unslashed as required (props @peterwilsoncc, @dkotter via #358).
- Security: (Hardening) Ensure user has
manage_optioncap before saving default avatar (props @peterwilsoncc, @dkotter via #358).
2.8.5 — 2025-08-06
- Security: Run a user capability check before migrating WP User Avatars. Thank you Håkon Harnes at Wordfence for responsibly disclosing this issue. (props @jeffpaul, @peterwilsoncc, @faisal-alvi via GHSA-fmhf-27jv-qf37)
2.8.4 — 2025-07-14
- Changed: Don’t resize image if the full version already has the expected height/width (props @ocean90, @jeffpaul, @faisal-alvi via #324).
- Changed: Bump WordPress «tested up to» version 6.8 (props @qasumitbagthariya, @dkotter, @jeffpaul via #332, #334).
- Changed: Bump WordPress minimum from 6.5 to 6.6 (props @qasumitbagthariya, @dkotter, @jeffpaul via #332, #334).
- Security: Bump
@sentry/nodefrom 8.38.0 to 8.52.0 (props @dependabot, @faisal-alvi via #325). - Security: Bump
axiosfrom 1.7.7 to 1.8.4 (props @dependabot, @faisal-alvi via #330). - Security: Bump
tar-fsfrom 3.0.6 to 3.0.9 (props @dependabot, @faisal-alvi via #331, #336). - Security: Bump
http-proxy-middlewarefrom 2.0.7 to 2.0.9 (props @dependabot, @peterwilsoncc via #335).
