Make WordPress Core

Opened 13 years ago

Closed 13 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:

Description

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 13 years ago.
20432.patch (380 bytes) - added by ocean90 13 years ago.
20432.2.patch (711 bytes) - added by SergeyBiryukov 13 years ago.

Download all attachments as: .zip

Change History (8)

@ocean90
13 years ago

#2 @ocean90
13 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
13 years ago

Right, SergeyBiryukov. :)

#4 @mattonomics
13 years ago

Cornerstone generated the stupid patch file wrong. It should be $src and NOT $src_file

Version 0, edited 13 years ago by mattonomics (next)

#5 @ryan
13 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.