PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | includes/admin/upgrades/upgrade-functions.php +3 -1 4.16.7.1 → 4.17.0 View file →
@@ -3112,9 +3112,11 @@
3112 3112 global $wpdb;
3113 3113
3114 3114 $give_updates = Give_Updates::get_instance();
3115 3115
3116 - $wpdb->query( "DELETE FROM {$wpdb->donormeta} WHERE meta_key LIKE '%_give_anonymous_donor%' OR meta_key='_give_has_comment';" );
3116 + $donor_meta_table_name = Give()->donor_meta->table_name;
3117 +
3118 + $wpdb->query( "DELETE FROM {$donor_meta_table_name} WHERE meta_key LIKE '%_give_anonymous_donor%' OR meta_key='_give_has_comment';" );
3117 3119
3118 3120 $give_updates->percentage = 100;
3119 3121
3120 3122 // The Update Ran.