WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#32997 closed defect (bug) (fixed)

Use $default param in get_option('avatar_default')

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

Description

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 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @obenland
5 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
5 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
5 years ago

Thanks @obenland!

Note: See TracTickets for help on using tickets.