• Resolved riteshiz

    (@riteshiz)


    Hello,

    i had found this problem in Version 2.6.5 and now you have updated to Version 2.6.8. when i delete any slider from wp-admin i have checked it delete sider entry form database [wp_huge_itslider_sliders] but does not delete image entry from database [wp_huge_itslider_images].

    https://wordpress.org/plugins/slider-image/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter riteshiz

    (@riteshiz)

    Solved
    go to sliders.php
    – find function removeslider($id)
    – add following code in start of else part

    $sql_remov_images=$wpdb->prepare("DELETE FROM ".$wpdb->prefix."huge_itslider_images WHERE slider_id = %d", $id);
    	 $wpdb->query($sql_remov_images);

    Yes it usually keeps images in order if you decide to install pro version, your projects couldn’t be lost.

    Thread Starter riteshiz

    (@riteshiz)

    okey but i think it was bug not feature 🙂

    No dear) it is something that most of our users need. Ability not to lose their created projects while upgrading. And also if you upgrade it is unnecessary to delete old version and install new version

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘image not delete from database when you delete slider’ is closed to new replies.