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/donors/donors.php +1 -6 4.16.7 → 4.17.0 View file →
@@ -212,8 +212,9 @@
212 212
213 213 /**
214 214 * Renders the donor view wrapper.
215 215 *
216 + * @since 4.16.8 Relinking donors is handled only through the nonce-protected edit action.
216 217 * @since 1.0
217 218 *
218 219 * @param string $view The View being requested.
219 220 * @param array $callbacks The Registered views and their callback functions.
@@ -236,15 +237,9 @@
236 237 $render = false;
237 238 }
238 239
239 240 $donor_id = (int) $_GET['id'];
240 - $reconnect_user_id = ! empty( $_GET['user_id'] ) ? (int) $_GET['user_id'] : '';
241 241 $donor = new Give_Donor( $donor_id );
242 -
243 - // Reconnect User with Donor profile.
244 - if ( $reconnect_user_id ) {
245 - give_connect_user_donor_profile( $donor, array( 'user_id' => $reconnect_user_id ), array() );
246 - }
247 242
248 243 if ( empty( $donor->id ) ) {
249 244 give_set_error( 'give-invalid_donor', __( 'Invalid Donor ID.', 'give' ) );
250 245 $render = false;