Fix author avatar fallback logic to prevent showing admin avatar for users without profile photos
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
Empieza por localizar la representación del avatar del autor en los metadatos de la entrada del tema que se utiliza en los diseños de entradas individuales, las cuadrículas del archivo del blog y los listados de resultados de búsqueda. Rastrea cómo se pasa el ID de usuario o el correo electrónico del autor de la entrada a la recuperación del avatar de WordPress y, después, verifica que, en los tres contextos, cuando faltan fotos se utiliza el fallback configurado de WordPress en lugar de la imagen de otro usuario.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Impact: 65 · Confidence: 90 · Complexity: 30
Description
Problem: When displaying post meta with author avatars on single posts, archive pages, or search results, authors who do not have an uploaded profile photo or Gravatar are incorrectly displaying the site administrator's profile picture instead of a generic default avatar or blank fallback.
Desired Behavior: When author avatar rendering is enabled in theme meta controls, each author's post metadata should retrieve their own Gravatar/profile picture by their user email. If no photo exists, it should fall back to the default WordPress Gravatar setting or a neutral fallback icon rather than defaulting to the site administrator user's avatar.
Acceptance Criteria:
- Verify post author avatar fetching strictly uses the post author's user ID / email.
- Ensure users without a custom avatar receive standard WP fallback avatars (e.g. Mystery Person or Default Blank) and never inherit another user's (such as the admin's) profile image.
- Verify across single post layout, blog archive grids, and search result listing pages.
Customer Context
The customer (a Neve Pro user) reported that on articles where authors haven't uploaded a profile picture, the admin user's photo is being displayed in article metadata across single posts, archive pages, and search results.
Root Cause Analysis
The customer's underlying issue is that the theme's post meta author avatar rendering logic falls back to fetching/rendering the administrator's profile image when a post author lacks an uploaded Gravatar or profile photo. The theme should retrieve avatar graphics explicitly based on the post author's email/ID, and rely on standard WordPress default Gravatar fallbacks rather than defaulting or resolving to user ID 1 / admin user metadata.
Reasoning
The customer is reporting a bug/unexpected behavior where single posts, archive pages, and search result pages display the administrator's profile avatar for post authors who have not uploaded a custom profile picture/Gravatar, instead of falling back to a default avatar or the user's generic Gravatar. Upon searching the issue tracking repositories (Codeinwp/neve and Codeinwp/neve-pro-addon) and theme documentation, there is no option or current open issue addressing wrong avatar fallback behavior for post authors. This is a actionable feature request/bug fix for author avatar fallback logic in Neve.
Source: HelpScout #3453459364
Generated by feature-request-triage workflow (ID: feature-request-triage_6aab11d931f269.49024589)
- Lenguaje dominante
- PHP
- Estrellas
- 307
- Forks
- 88
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Codeinwp/neve
-
bug-report bug-report-triage customer report regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
feature-request-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
feature-request-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Elementor single-color endpoint returns global_not_found for Neve palette colorsPosiblemente ocupada @girishpanchal30 la tomó hace 3 días. Abiertobug-report bug-report-triage customer report regression
Codeinwp/neve#4633 · 12 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
customer report feature-request-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de Codeinwp/neve
Issues similares
-
domain/crm-after-sales Platform(Default) priority/high
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
sync-en
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
component/code document/settings documents duplicate integration/wc/pages/cart integration/woocommerce mod* mod/b* mod/c* mod/d* mod/e* mod/i* product/pro status/needs-feedback
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
elementor/elementor#37475 · 1 comentario ·
Los mantenedores suelen responder en 1 día