[wp-trac] [WordPress Trac] #37343: wp_get_attachment_link() outputs nothing if the attachment post has no title
WordPress Trac
noreply at wordpress.org
Sun Jul 24 11:05:12 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:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Jonnyauk):
Confirmed - I've replicated this issue with a non-image file (PDF) with no
post title where wp_get_attachment_link() doesn't return link, but it
functions correctly with a non-titled image file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37343#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list