PluginProbe
Tiered Pricing Table for WooCommerce / 2.1.2
Tiered Pricing Table for WooCommerce v2.1.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | freemius/templates/plugin-info/features.php +2 -1 8.0.2 → 2.1.2 View file →
@@ -32,8 +32,9 @@
32 32 }
33 33
34 34 // Add support as a feature.
35 35 if ( ! empty( $plan->support_email ) ||
36 + ! empty( $plan->support_skype ) ||
36 37 ! empty( $plan->support_phone ) ||
37 38 true === $plan->is_success_manager
38 39 ) {
39 40 if ( ! isset( $features_plan_map['support'] ) ) {
@@ -41,9 +42,9 @@
41 42 $support_feature->id = 'support';
42 43 $support_feature->title = fs_text_inline( 'Support', $plugin->slug );
43 44 $features_plan_map[ $support_feature->id ] = array( 'feature' => $support_feature, 'plans' => array() );
44 45 } else {
45 - $support_feature = $features_plan_map['support']['feature'];
46 + $support_feature = $features_plan_map['support'];
46 47 }
47 48
48 49 $features_plan_map[ $support_feature->id ]['plans'][ $plan->id ] = $support_feature;
49 50 }