Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49655 closed defect (bug) (fixed)

Correct the image thumbnail logic in media templates

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile 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 4 years ago.
Created patch.

Download all attachments as: .zip

Change History (5)

@chetan200891
4 years ago

Created patch.

#2 @chetan200891
4 years ago

  • Keywords has-patch added; needs-patch removed

#3 @johnbillion
4 years ago

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

#4 @johnbillion
4 years 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.