Ticket #1049 (new defect)
Opened 2 years ago
wpmu plugin-management mass activation
| Reported by: | yannux | Owned by: | GamerZ |
|---|---|---|---|
| Priority: | high | Component: | wp-polls |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Mass activating wp-polls (2.50) on wpmu doesn't work because of
### Polls Table Name global $wpdb; $wpdb->pollsq = $wpdb->prefix.'pollsq'; $wpdb->pollsa = $wpdb->prefix.'pollsa'; $wpdb->pollsip = $wpdb->prefix.'pollsip';
is defined when the file is include once.
So I add between lines 1463,1464 :
$wpdb->pollsq = $wpdb->prefix.'pollsq'; $wpdb->pollsa = $wpdb->prefix.'pollsa'; $wpdb->pollsip = $wpdb->prefix.'pollsip';
making them defined with good $wpdb->prefix
Note: See
TracTickets for help on using
tickets.
