WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#23710 closed defect (bug) (fixed)

Fix error notice in wp_generate_attachment_metadata()

Reported by: danielbachhuber Owned by: SergeyBiryukov
Milestone: 3.6 Priority: low
Severity: minor Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Notice:

[06-Mar-2013 23:06:07 UTC] Notice: Undefined variable: sizes in wp-admin/includes/image.php on line 99

Attachments (1)

23710.1.patch (519 bytes) - added by danielbachhuber 9 years ago.
Declare the variable before using it

Download all attachments as: .zip

Change History (2)

@danielbachhuber
9 years ago

Declare the variable before using it

#1 @SergeyBiryukov
9 years ago

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

In 23632:

Declare the variable before using it. props danielbachhuber. fixes #23710.

Note: See TracTickets for help on using tickets.