Skip to content

Commit

Permalink
Merge pull request #1444 from rocklobster-in/dev/5.9
Browse files Browse the repository at this point in the history
Detect form-in-form situation and give warning
  • Loading branch information
takayukister authored Jun 27, 2024
2 parents 5994a71 + 5ba998b commit 994a7ce
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 994a7ce

Please sign in to comment.