Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#32997 closed defect (bug) (fixed)

Use $default param in get_option('avatar_default')

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

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

Download all attachments as: .zip

Change History (4)

#1 @obenland
11 years ago

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

#2 @obenland
11 years ago

  • Resolution → fixed
  • Status accepted → closed

In 33264:

Use default parameter when getting the default avatar type.

Props johnjamesjacoby.
Fixes #32997.

#3 @johnjamesjacoby
11 years ago

Thanks @obenland!

Note: See TracTickets for help on using tickets.