Opened 10 years ago
Closed 10 years ago
#37288 closed defect (bug) (fixed)
Embeds: Don't print HTML markup if a post has no featured image
| Reported by: | ocean90 | Owned by: | swissspidy |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Embeds | Version: | 4.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Introduced in [36693].
In embed-content.php $thumbnail_id can be 0. If it's 0 no markup should be printed.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
37288.2.diff reverts to the behaviour before [36693].