WordPress.org

Plugin Directory

wp-polls

Opened 4 years ago

Closed 2 years ago

Last modified 21 months ago

#1049 closed defect (fixed)

wpmu plugin-management mass activation

Reported by: yannux Owned by: GamerZ
Priority: high Severity: normal
Plugin: wp-polls 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

Change History (4)

comment:1 garyc402 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [550283]:

Fix: Variation sales prices are inaccurate in Product Specials Widget

Fix: Variation sales prices are inaccurate in Product Specials Widget
New: Options to Show Old Price and Show Discount ("you save" amount) in Product Specials Widget.

Fixes issue 1049.

comment:2 garyc402 years ago

In [550293]:

Fix: Variation sales prices are inaccurate in Product Specials Widget

Fix: Variation sales prices are inaccurate in Product Specials Widget
New: Options to Show Old Price and Show Discount ("you save" amount) in Product Specials Widget.

Fixes issue 1049.

comment:3 garyc402 years ago

In [550318]:

Fix: Variation sales prices are inaccurate in Product Specials Widget

Fix: Variation sales prices are inaccurate in Product Specials Widget
New: Options to Show Old Price and Show Discount ("you save" amount) in Product Specials Widget.

Fixes issue 1049.

Conflicts:

wpsc-includes/product-template.php

comment:4 garyc4021 months ago

In [586481]:

Fix: Product Specials Widget does not work with product variations on sale. Props Justin Sainton.

Fixes issue 1049.

Note: See TracTickets for help on using tickets.