Opened 6 years ago
Closed 5 years ago
#49655 closed defect (bug) (fixed)
Correct the image thumbnail logic in media templates
| Reported by: | | Owned by: | |
|---|---|---|---|
| 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:
data.imageis checked butdata.thumbis used: https://core.trac.wordpress.org/browser/tags/5.3.2/src/wp-includes/media.php?marks=2040-2042#L2031data.sizesis checked butdata.sizeis used: https://core.trac.wordpress.org/browser/tags/5.3.2/src/wp-includes/media-template.php?marks=536-539#L529
Attachments (1)
Change History (5)
Note: See TracTickets for help on using tickets.
Introduced in [27239], [29528].