Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#32997 closed defect (bug) (fixed)

Use $default param in get_option('avatar_default')

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: obenland's profile obenland
Milestone: 4.3 Priority: low
Severity: trivial Version:
Component: Administration Keywords: has-patch
Focuses: administration Cc:


There is code In options-discussion.php that predates the $default parameter of the get_option() function.

Let's use it. See r7879.

Attachments (1)

32997.01.patch (462 bytes) - added by johnjamesjacoby 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @obenland
9 years ago

  • Milestone changed from Awaiting Review to 4.3
  • Owner set to obenland
  • Status changed from new to accepted
  • Type changed from enhancement to defect (bug)

#2 @obenland
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 33264:

Use default parameter when getting the default avatar type.

Props johnjamesjacoby.
Fixes #32997.

#3 @johnjamesjacoby
9 years ago

Thanks @obenland!

Note: See TracTickets for help on using tickets.