[wp-trac] [WordPress Trac] #37343: wp_get_attachment_link() outputs nothing if the attachment post has no title

WordPress Trac noreply at wordpress.org
Tue Jul 12 16:19:52 UTC 2016


#37343: wp_get_attachment_link() outputs nothing if the attachment post has no
title
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 {{{wp_get_attachment_link()}}} fails to output if the attachment post
 doesn't have a title.

 This doesn't apply to image attachments, but it does apply to PDFs etc.

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


More information about the wp-trac mailing list