Support › General › Image Upload: image is deleted after change position using drag and dropResolved
The metabox works fine when a post is created, but when an imagem have your position changed trought drag and drop, after post update the image that have your position changed is deleted.
'id' => 'images',
'type' => 'image_upload',
'name' => esc_html__( 'Imagens', 'webpesados' ),
'force_delete' => true,
'image_size' => 'thumbnail',
'columns' => 12,
'tooltip' => array(
'icon' => 'help',
'content' => esc_html__('Arraste as imagens para alterar sua ordem de exibição.', 'webpesados'),
'position' => 'right',
Thanks for your feedback. I've just noticed the issue on WP 5.0.1. Did you test with the same version (or Gutenberg)?
Turns out it's a bug in the plugin when force_delete=true. I've fixed on Github. Can you please check it?
I'm using 4.98 version of WordPress. Thank you for the fix, works fine!