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 was archived by the owner on Apr 2, 2020. It is now read-only.
When an image in the media library is given a caption and inserted into a post, the caption at that moment will be saved in the caption attribute of the shortcode. If the caption is later changed in the media library, the caption does not change in the post.
This could be a significant issue especially in cases where an image was inserted into multiple posts and a factual error needs to be changed in the caption for all of those posts.
Suggested Behavior
When an attachment with a caption is added to a post, it should not have a caption attribute on the shortcode. That way the image caption in the post will be linked to the image caption as it exists in the media library.
If the user wants to override the caption for a specific instance of the shortcode in a post, they should still be able to do so by either adding the caption attribute manually or editing the caption with the shortcode UI. At that point, the caption will be unique to that particular instance and will no longer be linked to the value of the caption in the media library until the caption attribute is removed.