| @@ -360,8 +360,9 @@ | ||
| 360 | 360 | $this->getLogger()->warning( |
| 361 | 361 | 'Rate limit exceeded for IP', |
| 362 | 362 | array( |
| 363 | 363 | 'plugin' => 'double-opt-in', |
| 364 | + 'ip' => $ip, | |
| 364 | 365 | 'form_id' => $formData->getFormId(), |
| 365 | 366 | ) |
| 366 | 367 | ); |
| 367 | 368 | do_action( 'f12_cf7_doubleoptin_rate_limited', 'ip', $ip, $formData->getFormId() ); |
| @@ -382,8 +383,9 @@ | ||
| 382 | 383 | $this->getLogger()->warning( |
| 383 | 384 | 'Rate limit exceeded for email', |
| 384 | 385 | array( |
| 385 | 386 | 'plugin' => 'double-opt-in', |
| 387 | + 'email' => $recipient, | |
| 386 | 388 | 'form_id' => $formData->getFormId(), |
| 387 | 389 | ) |
| 388 | 390 | ); |
| 389 | 391 | do_action( 'f12_cf7_doubleoptin_rate_limited', 'email', $recipient, $formData->getFormId() ); |
| @@ -421,8 +423,9 @@ | ||
| 421 | 423 | $this->getLogger()->warning( |
| 422 | 424 | 'Recipient validation failed', |
| 423 | 425 | array( |
| 424 | 426 | 'plugin' => 'double-opt-in', |
| 427 | + 'email' => $recipient, | |
| 425 | 428 | 'form_id' => $formData->getFormId(), |
| 426 | 429 | 'reason' => $errorMsg, |
| 427 | 430 | ) |
| 428 | 431 | ); |
| @@ -725,11 +728,8 @@ | ||
| 725 | 728 | 'form' => $formData->getFormHtml(), |
| 726 | 729 | 'email' => $recipient, |
| 727 | 730 | 'consent_text' => (string) ( $formParameter['consent_text'] ?? '' ), |
| 728 | 731 | '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 |