[wp-trac] [WordPress Trac] #37288: Embeds: Don't print HTML markup if a post has no featured image

WordPress Trac noreply at wordpress.org
Tue Jul 5 14:10:53 UTC 2016


#37288: Embeds: Don't print HTML markup if a post has no featured image
--------------------------+----------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Embeds        |    Version:  4.5
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+----------------------------
 Introduced in [36693].

 In embed-content.php `$thumbnail_id` can be 0. If it's 0 no markup should
 be printed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37288>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list