From bb7385248b7e7f624b8ee03a3c3481f9023ef3cb Mon Sep 17 00:00:00 2001 From: selul Date: Fri, 13 Jul 2018 09:37:31 +0000 Subject: [PATCH 1/2] [AUTO][skip ci] Updating changelog for v2.4.4 --- CHANGELOG.md | 7 +++++++ readme.md | 8 ++++++++ readme.txt | 8 ++++++++ 3 files changed, 23 insertions(+) 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/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 From 34997fd1f208f1ca30c3d4406f72c50dea6859b2 Mon Sep 17 00:00:00 2001 From: Ashish Ravi Date: Mon, 23 Jul 2018 10:59:33 +0530 Subject: [PATCH 2/2] Scroll to the frontpage contact section for Zerif Lite/Zerif Pro #333 --- includes/class-pirateforms-phpformbuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) {