File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1111namespace HCaptcha \CF7 ;
1212
1313use HCaptcha \Helpers \Pages ;
14+ use HCaptcha \Main ;
1415use WPCF7_ContactForm ;
1516use WPCF7_TagGenerator ;
1617use WPCF7_TagGeneratorGenerator ;
@@ -307,7 +308,7 @@ public function enqueue_admin_scripts_before_cf7(): void {
307308 wp_enqueue_script (
308309 self ::HANDLE ,
309310 HCAPTCHA_URL . "/assets/js/hcaptcha-cf7 $ min.js " ,
310- [],
311+ [ Main:: HANDLE ],
311312 HCAPTCHA_VERSION ,
312313 true
313314 );
Original file line number Diff line number Diff line change 1212
1313use HCaptcha \Helpers \API ;
1414use HCaptcha \Helpers \HCaptcha ;
15+ use HCaptcha \Main ;
1516use WPCF7_FormTag ;
1617use WPCF7_Submission ;
1718use WPCF7_Validation ;
@@ -309,7 +310,7 @@ public function enqueue_scripts(): void {
309310 wp_enqueue_script (
310311 self ::HANDLE ,
311312 HCAPTCHA_URL . "/assets/js/hcaptcha-cf7 $ min.js " ,
312- [],
313+ [ Main:: HANDLE ],
313314 HCAPTCHA_VERSION ,
314315 true
315316 );
You can’t perform that action at this time.
0 commit comments