Removing all images and updating post gives error
-
Had to update multi-image-upload.php – line 152
Old code:
// Validate user input. $posted_images = $_POST['miu_images']; $miu_images = array(); foreach ($posted_images as $image_url) { if (!empty($image_url)) $miu_images[] = esc_url_raw($image_url); }
New code:
// Validate user input. $posted_images = $_POST['miu_images']; $miu_images = array(); if(!empty($posted_images)) { foreach ($posted_images as $image_url) { if (!empty($image_url)) $miu_images[] = esc_url_raw($image_url); } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Removing all images and updating post gives error’ is closed to new replies.