| @@ -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; |