You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
Tested on a fresh install. Seems the linkto attribute is never added when inserting image into post from media library. If you go back to edit the shortcode in place and hit update, it's only then that the attribute is added.
I'm thinking that this might have something to do with linkto not being in the array of allowed attributes here.
I suspect you're right there. I did some hackery in the data-migration script here to convert links to the appropriate linkto value when migrating old images to shortcodes, but I don't think we're picking up anything for that value for newly-inserted images from the media library screen.
Tested on a fresh install. Seems the
linkto
attribute is never added when inserting image into post from media library. If you go back to edit the shortcode in place and hit update, it's only then that the attribute is added.I've selected link to file:
But this is the output:
[img attachment="15" align="alignnone" size="medium" alt="montchr-electric-factory-20151110-44" /]
The text was updated successfully, but these errors were encountered: