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

WordPress Trac noreply at wordpress.org
Wed Jul 27 13:39:16 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:  Media                    |     Version:  4.5.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------

Comment (by henry.wright):

 @Jonnyauk what are your thoughts on using the attachment's file name
 instead of the guid? Patch incoming...

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


More information about the wp-trac mailing list