Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20432 closed defect (bug) (fixed)

Incorrect variable used in wp_crop_image

Reported by: mattonomics's profile mattonomics Owned by: ryan's profile ryan
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: Media Keywords: has-patch
Focuses: Cc:


I noticed that there was a reference to the incorrect variable on line 58 of wp-admin/includes/image.php. This seems to fix it!

Quick and easy :)

Attachments (3)

image.php.patch (233 bytes) - added by mattonomics 12 years ago.
20432.patch (380 bytes) - added by ocean90 12 years ago.
20432.2.patch (711 bytes) - added by SergeyBiryukov 12 years ago.

Download all attachments as: .zip

Change History (8)

12 years ago

#2 @ocean90
12 years ago

  • Component changed from General to Media
  • Keywords close removed
  • Milestone changed from Awaiting Review to 3.4

Oh, I see it's the other way around.

Related: [20384]

#3 @ocean90
12 years ago

Right, SergeyBiryukov. :)

#4 @mattonomics
12 years ago

Cornerstone generated the stupid patch file wrong (or I did). It should be $src and NOT $src_file

Last edited 12 years ago by mattonomics (previous) (diff)

#5 @ryan
12 years ago

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

In [20454]:

Use correct var name. Props mattonomics. fixes #20432

Note: See TracTickets for help on using tickets.