[wp-trac] [WordPress Trac] #35595: No way to prevent 'rel="attachment wp-att-xxx"' from being added to all images
WordPress Trac
noreply at wordpress.org
Sun Jan 24 21:19:30 UTC 2016
#35595: No way to prevent 'rel="attachment wp-att-xxx"' from being added to all
images
--------------------------+-----------------------------
Reporter: pputzer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The resolution of #32074 means that all images get `rel="attachment wp-
att-XXX"` added to their markup in `get_image_send_to_editor`. While I am
not sure if this `rel` is actually used for something, there should at
least be a filter to preserve the previous behavior.
While I can of course add (another) filter to `image_send_to_editor`,
there is currently no `$rel` for this filter (unlike `$url`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35595>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list