diff --git a/CHANGELOG.md b/CHANGELOG.md index 44be4e4..a46e6b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ + ### v2.4.4 - 2018-07-13 + **Changes:** + * Fixed compatibility with All in One SEO Pack plugin +* Fixed problem with form not working with the ajax option +* Option to save the attachments files +* Improved recaptcha button layout on mobile devices + ### v2.4.3 - 2018-06-25 **Changes:** * New Gutenberg block for the default Pirate Forms form diff --git a/includes/class-pirateforms-phpformbuilder.php b/includes/class-pirateforms-phpformbuilder.php index b4ad584..691b677 100644 --- a/includes/class-pirateforms-phpformbuilder.php +++ b/includes/class-pirateforms-phpformbuilder.php @@ -72,7 +72,7 @@ function build_form( $elements, $pirate_forms_options, $from_widget ) { $this->set_element( 'custom_fields', $custom_fields ); - $form_attributes = array_filter( apply_filters( 'pirate_forms_form_attributes', array( 'action' => '' ) ) ); + $form_attributes = array_filter( apply_filters( 'pirate_forms_form_attributes', array( 'action' => '', 'id' => $id ) ) ); if ( $form_attributes ) { // if additiona classes are provided, add them to our classes. if ( array_key_exists( 'class', $form_attributes ) ) { diff --git a/readme.md b/readme.md index 12da6ac..ee67648 100644 --- a/readme.md +++ b/readme.md @@ -293,6 +293,14 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you' 4. Screenshot 4. Enabling SMTP ## Changelog ## +### 2.4.4 - 2018-07-13 ### + +* Fixed compatibility with All in One SEO Pack plugin +* Fixed problem with form not working with the ajax option +* Option to save the attachments files +* Improved recaptcha button layout on mobile devices + + ### 2.4.3 - 2018-06-25 ### * New Gutenberg block for the default Pirate Forms form diff --git a/readme.txt b/readme.txt index 0bde57f..0571975 100644 --- a/readme.txt +++ b/readme.txt @@ -293,6 +293,14 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you' 4. Screenshot 4. Enabling SMTP == Changelog == += 2.4.4 - 2018-07-13 = + +* Fixed compatibility with All in One SEO Pack plugin +* Fixed problem with form not working with the ajax option +* Option to save the attachments files +* Improved recaptcha button layout on mobile devices + + = 2.4.3 - 2018-06-25 = * New Gutenberg block for the default Pirate Forms form