WordPress.org

Make WordPress Core

#20432 closed defect (bug) (fixed)

Incorrect variable used in wp_crop_image

Reported by: mattonomics Owned by: ryan
Priority: normal Milestone: 3.4
Component: Media Version: 3.4
Severity: normal Keywords: has-patch
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 14 months ago.
20432.patch (380 bytes) - added by ocean90 14 months ago.
20432.2.patch (711 bytes) - added by SergeyBiryukov 14 months ago.

Download all attachments as: .zip

Change History (8)

mattonomics14 months ago

ocean9014 months ago

SergeyBiryukov14 months ago

comment:2 ocean9014 months 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]

comment:3 ocean9014 months ago

Right, SergeyBiryukov. :)

comment:4 mattonomics14 months ago

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

Version 0, edited 14 months ago by mattonomics (next)

comment:5 ryan14 months 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.