WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37343, comment 2


Ignore:
Timestamp:
07/24/2016 11:17:20 AM (3 years ago)
Author:
Jonnyauk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37343, comment 2

    initial v1  
    11Confirmed - 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.
     2
     3It doe work correctly (non image, no title) if you set the $title parameter - but this should not be required.