WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20512 closed defect (bug) (fixed)

gravatar_default sends size parameter incorrectly

Reported by: duck_ Owned by: duck_
Milestone: 3.4 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords: has-patch
Focuses: Cc:

Description

If the default gravatar option is set to "gravatar_default" then get_avatar() will not send the size parameter to gravatar.com if $email is empty as the question mark separator is missing.

Has been like this since introduction in [7879].

Attachments (1)

20512.diff (550 bytes) - added by duck_ 3 years ago.

Download all attachments as: .zip

Change History (3)

@duck_3 years ago

comment:1 @duck_3 years ago

  • Owner set to duck_
  • Resolution set to fixed
  • Status changed from new to closed

In [20563]:

Add missing "?" to gravatar_default URL in get_avatar() to set size parameter correctly. Fixes #20512.

comment:2 @duck_3 years ago

  • Milestone changed from Awaiting Review to 3.4
Note: See TracTickets for help on using tickets.