Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10050 closed defect (bug) (fixed)

unset variable case

Reported by: dd32 Owned by:
Priority: normal Milestone: 2.8
Component: Media Version: 2.8
Severity: normal Keywords: has-patch tested
Cc: Focuses:

Description

In the media code to retrieve a icon for a media-type, there exists a rare case where $src can be unset (when $icon is false), attached patch initializes variable first.

Attachments (1)

10050.diff​ (491 bytes ) - added by dd32 17 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [11529]) Initialize var. Props dd32. fixes #10050

Note: See TracTickets for help on using tickets.