Wordpress dbDelta not functioning
问题 I'm currently writing a plugin for a customer, and while it's usually working good, I found that dbDelta does not allow me to create the table I need on plugin activation. I'm running the below code to bind the activation function: register_activation_hook(__FILE__, 'adminInstallation'); And this is the function itself: function adminInstallation(){ global $wpdb; $objectEquipment = 'wp_object_equipment'; $equipmentSQL = "CREATE TABLE ".$objectEquipment." ( id mediumint(9) NOT NULL AUTO