Make WordPress Core

Opened 10 years ago

Last modified 7 years ago

#38896 new enhancement

avatar_settings help text may not be accurate if avatar_defaults is filtered

Reported by: johnjamesjacoby Owned by:
Priority: normal Milestone: Awaiting Review
Component: Options, Meta APIs Version:
Severity: normal Keywords: has-patch 2nd-opinion has-screenshots
Cc: Focuses: administration

Description

The string says:

For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address.

But, I have a need to remove generated Gravatars entirely using the avatar_defaults filter, which makes this text misleading.

In addition, this text is not wrapped in any defining HTML, making it impossible to reliably target with CSS or JS even.

Attachments (2)

38896.patch (3.5 KB ) - added by johnjamesjacoby 10 years ago.
Add filters for avatar types, plus 1 for the avatar help text (since several old plugins with many active installations modify this area)
Screen Shot 2016-11-21 at 16.25.07.png (104.3 KB ) - added by johnjamesjacoby 10 years ago.
Example with generated avatars removed

Download all attachments as: .zip

Change History (3)

@johnjamesjacoby
10 years ago

Add filters for avatar types, plus 1 for the avatar help text (since several old plugins with many active installations modify this area)

@johnjamesjacoby
10 years ago

Example with generated avatars removed

#1 @johnjamesjacoby
10 years ago

  • Keywords has-patch 2nd-opinion has-screenshots added
  • Type defect (bug)enhancement
Note: See TracTickets for help on using tickets.