[wp-trac] [WordPress Trac] #36084: Link to media images now get a rel=attachement
WordPress Trac
noreply at wordpress.org
Mon Mar 7 15:08:41 UTC 2016
#36084: Link to media images now get a rel=attachement
----------------------------------------+------------------------
Reporter: csschris | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Media | Version: 4.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------
Changes (by joemcgill):
* keywords: needs-patch => has-patch needs-unit-tests
* owner: => joemcgill
* status: new => accepted
Comment:
I believe [attachment:36084.diff] is what was intended in r34259 so that
we use the `$rel` parameter in `get_image_send_to_editor()` if there is
one, and don't add a `rel` attribute if not.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36084#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list