Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#23710 closed defect (bug) (fixed)

Fix error notice in wp_generate_attachment_metadata()

Reported by: danielbachhuber's profile danielbachhuber Owned by: sergeybiryukov's profile 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 10 years ago.
Declare the variable before using it

Download all attachments as: .zip

Change History (2)

@danielbachhuber
10 years ago

Declare the variable before using it

#1 @SergeyBiryukov
10 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.