Skip to content

Commit

Permalink
Detect form-in-form situation and give warning
Browse files Browse the repository at this point in the history
Fixes #1232
  • Loading branch information
takayukister committed Jun 26, 2024
1 parent 43c7f94 commit 5ba998b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions includes/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ static function () {
array( 'in_footer' => true )
);

wp_set_script_translations( 'contact-form-7', 'contact-form-7' );

wp_register_script(
'contact-form-7-html5-fallback',
wpcf7_plugin_url( 'includes/js/html5-fallback.js' ),
Expand Down
2 changes: 1 addition & 1 deletion includes/js/index.asset.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

return array(
'dependencies' => array(),
'dependencies' => array( 'wp-i18n' ),
'version' => WPCF7_VERSION,
);
Loading

0 comments on commit 5ba998b

Please sign in to comment.