Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter scaryfresh

    (@scaryfresh)

    I just removed the update at the bottom of the plugin file (wp-content/owl-carousel/owlcarousel.php)

    /**
     * Version 0.3 to 0.4 fix for custom taxonomy
     */
    $con = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
    mysqli_query($con, "UPDATE " . $wpdb->prefix . "term_taxonomy SET taxonomy = 'Carousel' WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM " . $wpdb->prefix . "posts INNER JOIN " . $wpdb->prefix . "term_relationships ON " . $wpdb->prefix . "term_relationships.object_id = " . $wpdb->prefix . "posts.ID WHERE post_type = 'owl-carousel') ");

    If you have a clean install with no need to update old posts you can remove this. If not maybe run the update manually until they release a fix.

Viewing 1 replies (of 1 total)