[wp-trac] [WordPress Trac] #36084: Link to media images now get a rel=attachement
WordPress Trac
noreply at wordpress.org
Thu Mar 3 18:23:29 UTC 2016
#36084: Link to media images now get a rel=attachement
--------------------------+-----------------------------
Reporter: csschris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Previously only images that link to attachment pages got wrapped in achors
with the rel=attachment attribute.
Now images with link to media are also getting wrapped in anchors with
rel=attachment.
Is this a bug or is it here to stay? I have lightbox logic that needs to
be able to discriminate between links to media and links to attachments.
Checking the urls for image extensions isn't ideal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36084>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list