[wp-trac] [WordPress Trac] #35153: Default link target for media files is none
WordPress Trac
noreply at wordpress.org
Wed Dec 23 17:07:29 UTC 2015
#35153: Default link target for media files is none
-----------------------------------+-----------------------------
Reporter: Clorith | Owner: wonderboymusic
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4.1
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: ui
-----------------------------------+-----------------------------
Comment (by Clorith):
I'm thinking it would be safer to reverse that check?
If the mime is `image/*` then link to None, but if it isn't, link to the
media file, as you are more likely to have an infinite amount of file
variations than you are image types.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35153#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list