WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 days ago

#49655 closed defect (bug) (fixed)

Correct the image thumbnail logic in media templates

Reported by: johnbillion Owned by: johnbillion
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: administration Cc:

Description

Two media templates appear to contain incorrect logic when checking if properties exist before displaying them:

Attachments (1)

49655.diff (1.6 KB) - added by chetan200891 6 months ago.
Created patch.

Download all attachments as: .zip

Change History (5)

@chetan200891
6 months ago

Created patch.

#2 @chetan200891
6 months ago

  • Keywords has-patch added; needs-patch removed

#3 @johnbillion
6 days ago

  • Milestone changed from Awaiting Review to 5.6
  • Owner set to johnbillion
  • Status changed from new to reviewing

#4 @johnbillion
6 days ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 49012:

Media: Correct the image thumbnail logic in media templates.

This ensures the correct data properties are checked before displaying image thumbnails.

Props chetan200891

Fixes #49655

Note: See TracTickets for help on using tickets.