[Plugin: Multiple Featured Images] Update button – removing additional images
-
Hi,
First of all thanks for the great plugin, its really useful.
I ran into a problem where users were sometimes removing images and then using the Update button to update the current post. This was after an additional image had been previously saved to the post and where meta data for that image had been created. As the meta data still exists in the “advanced settings” section, when the user updated the post the image would be added back to the post (despite being deleted via the plugins ajax call). I updated your js file to remove the meta data form files that were creating the problem. You can see the modified file here: http://pastebin.com/GckVpE2B
lines 15-20 have the function to remove the html meta elements.
line 36 has the call to this function following a successfully deletion
I hope this helps others
`
The topic ‘[Plugin: Multiple Featured Images] Update button – removing additional images’ is closed to new replies.