| @@ -360,9 +360,8 @@ | ||
| 360 | 360 | $this->getLogger()->warning( |
| 361 | 361 | 'Rate limit exceeded for IP', |
| 362 | 362 | array( |
| 363 | 363 | 'plugin' => 'double-opt-in', |
| 364 | - 'ip' => $ip, | |
| 365 | 364 | 'form_id' => $formData->getFormId(), |
| 366 | 365 | ) |
| 367 | 366 | ); |
| 368 | 367 | do_action( 'f12_cf7_doubleoptin_rate_limited', 'ip', $ip, $formData->getFormId() ); |
| @@ -383,9 +382,8 @@ | ||
| 383 | 382 | $this->getLogger()->warning( |
| 384 | 383 | 'Rate limit exceeded for email', |
| 385 | 384 | array( |
| 386 | 385 | 'plugin' => 'double-opt-in', |
| 387 | - 'email' => $recipient, | |
| 388 | 386 | 'form_id' => $formData->getFormId(), |
| 389 | 387 | ) |
| 390 | 388 | ); |
| 391 | 389 | do_action( 'f12_cf7_doubleoptin_rate_limited', 'email', $recipient, $formData->getFormId() ); |
| @@ -423,9 +421,8 @@ | ||
| 423 | 421 | $this->getLogger()->warning( |
| 424 | 422 | 'Recipient validation failed', |
| 425 | 423 | array( |
| 426 | 424 | 'plugin' => 'double-opt-in', |
| 427 | - 'email' => $recipient, | |
| 428 | 425 | 'form_id' => $formData->getFormId(), |
| 429 | 426 | 'reason' => $errorMsg, |
| 430 | 427 | ) |
| 431 | 428 | ); |
| @@ -728,8 +725,11 @@ | ||
| 728 | 725 | 'form' => $formData->getFormHtml(), |
| 729 | 726 | 'email' => $recipient, |
| 730 | 727 | 'consent_text' => (string) ( $formParameter['consent_text'] ?? '' ), |
| 731 | 728 | 'consent_field' => (string) ( $formParameter['consent_field'] ?? '' ), |
| 729 | + // Instance of the form inside the form id (Elementor widget id). | |
| 730 | + // Integrations that cannot tell instances apart leave it empty. | |
| 731 | + 'form_ref' => (string) $formData->getMetaValue( 'form_ref', '' ), | |
| 732 | 732 | ); |
| 733 | 733 | |
| 734 | 734 | /** |
| 735 | 735 | * Filter the OptIn properties array before the record is |