[wp-trac] [WordPress Trac] #36735: Add media, insert from URL and alt attribute
WordPress Trac
noreply at wordpress.org
Wed May 18 14:13:51 UTC 2016
#36735: Add media, insert from URL and alt attribute
--------------------------------------+----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: accessibility
--------------------------------------+----------------------------
Changes (by joemcgill):
* milestone: Awaiting Review => 4.6
Comment:
Thanks for digging into this, @ambrosey, and good catch. @cgrymala is
correct that the fallback to caption and then to title mimics what happens
in `wp_get_attachment_image()`
[https://developer.wordpress.org/reference/functions/wp_get_attachment_image/
see docs]. It may be worth discussing a better alternative.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36735#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list