Make WordPress Core

Opened 11 years ago

Last modified 7 years ago

#35092 reviewing defect (bug)

Remove crop check in wp_prepare_attachment_for_js() for sizes

Reported by: markoheijnen Owned by: joemcgill
Priority: normal Milestone:
Component: Media Version: 3.5
Severity: normal Keywords: has-patch reporter-feedback
Cc: Focuses:

Description

Currently only cropped images generated on the fly are displayed. This due to a ! $downsize[3] check. This change was made in #22598 and with the patch supplied I deleted this check. then medium/large does show up.

Attachments (1)

35092.diff​ (516 bytes ) - added by markoheijnen 11 years ago.

Download all attachments as: .zip

Change History (2)

@markoheijnen
11 years ago

#1 @joemcgill
10 years ago

  • Keywords has-patch reporter-feedback added
  • Milestone Awaiting Review → Future Release
  • Owner set to joemcgill
  • Status new → reviewing

Curious why @nacin decided to include this check in the first place as it's not obvious to me what is being avoided—full size images?

@markoheijnen could you describe a use case where this creates unexpected behavior?

Note: See TracTickets for help on using tickets.