Using WordPress 3.9, editing an image shows the wrong information!
-
Hi all,
There is an issue with WordPress 3.9 and editing an image in the post editor.
Starting from WordPress 3.9, when editing an image in the post editor, the original image data is retrieved from the server using only the image id. Using NSM, this will be the ID from a different blog. When, by coincidence, the current blog also has an attachment with that ID, the information for that image is displayed.
I’ll be posting a new version of my plugin later today to resolve this for new inserts, but I haven’t found a way to solve this for previous inserts.
There is a manual solution (please instruct your site users):
1. Cancel the image edit (if it’s open)
2. Go to the text view of the post
3. When your image has a caption, clear the id attribute of the caption shortcode
4. Also remove thewp-image-<id>
andwp-att-<id>
classes from the image tag
5. Return to Visual mode and try and edit the image againI don’t think it’s wise to programmatically perform above steps on all posts on all blogs on your network.
I’ve been working (since 3.5 was released in fact) to have the plugin interact better with the new MediaBrowser. It turned out to be hard, so that’s not finished yet.
Working on that I’ll keep an eye on this issue and try and fix it there.Kind regards,
— joost
- The topic ‘Using WordPress 3.9, editing an image shows the wrong information!’ is closed to new replies.