Support » Plugin: Dedicated Transients » Issue in dedicated_transients_uninstall function

  • Resolved Nazar Hotsa

    (@bugnumber9)



    Hello,

    There’s a syntax issue in dedicated-transients.php lines 79 and 81.
    You have this:
    $wpdb->query( "DROP TABLE {$wpdb->base_prefix}" . DEDICATED_TRANSIENTS_TABLE . " IF EXISTS" );
    The correct syntax should be:
    $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->base_prefix}" . DEDICATED_TRANSIENTS_TABLE );

    Reference: https://dev.mysql.com/doc/refman/8.0/en/drop-table.html

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.