[Plugin: WP-Polls] Bug in upgrade
-
Looks like there’s a bug in your upgrade script for v2.61
$wpdb->query(“ALTER TABLE $wpdb->pollsip ADD INDEX pollip_ip (pollip_id);”);As pollip_id is the Primary key for the table I can only assume this is a typo and you mean’t pollip_ip not pollip_id e.g.
$wpdb->query(“ALTER TABLE $wpdb->pollsip ADD INDEX pollip_ip (pollip_ip);”);In addition these two ALTER TABLE statements cause php errors when the plugin is re-enabled after already being upgraded.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP-Polls] Bug in upgrade’ is closed to new replies.