WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#20432 closed defect (bug) (fixed)

Incorrect variable used in wp_crop_image

Reported by: mattonomics Owned by: 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 2 years ago.
20432.patch (380 bytes) - added by ocean90 2 years ago.
20432.2.patch (711 bytes) - added by SergeyBiryukov 2 years ago.

Download all attachments as: .zip

Change History (8)

mattonomics2 years ago

ocean902 years ago

SergeyBiryukov2 years ago

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

comment:3 ocean902 years ago

Right, SergeyBiryukov. :)

comment:4 mattonomics2 years ago

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

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

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