Skip to content

Commit 7cc99d6

Browse files
committed
Fix hCaptcha not loading on Contact Form 7.
1 parent 9515939 commit 7cc99d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,9 @@ Instructions for popular native integrations are below:
852852

853853
== Changelog ==
854854

855+
= 4.21.1 =
856+
* Fixed hCaptcha not loading on Contact Form 7.
857+
855858
= 4.21.0 =
856859
* Added AI-ready security actions via the WordPress Abilities API, enabling automated threat inspection and response.
857860
* Added compatibility with the latest version of the Ninja Forms plugin.

tests/js/assets-js-files/hcaptcha-cf7.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ describe( 'hCaptcha Contact Form 7', () => {
1818

1919
require( '../../../assets/js/hcaptcha-cf7.js' );
2020
document.dispatchEvent( new Event( 'DOMContentLoaded' ) );
21+
hCaptchaBindEvents.mockClear();
2122
} );
2223

2324
afterEach( () => {

0 commit comments

Comments
 (0)