Skip to content

Commit

Permalink
Update Mailpoet integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Jul 22, 2024
1 parent 5aece80 commit 463f7d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ Instructions for popular native integrations are below:
= 4.4.0 =
* Added integration with WPS Hide Login plugin.
* Added compatibility with Contact Form 7 Stripe integration.
* Updated MailPoet integration.
* Fixed conflict with Ninja Forms Upload field.
* Fixed Ninja Forms Ajax processing.
* Fixed error in cron with Matomo Analytics.
Expand Down
2 changes: 1 addition & 1 deletion src/php/MailPoet/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function add_captcha( $block_content, array $block, WP_Block $instance ):
* @param API $api MailPoet API instance.
*/
public function verify( API $api ): void {
if ( is_admin() ) {
if ( ! wp_doing_ajax() ) {
return;
}

Expand Down

0 comments on commit 463f7d1

Please sign in to comment.