Skip to content

Commit

Permalink
Merge pull request #11 from emic/develop
Browse files Browse the repository at this point in the history
FMPress Forms 1.3.1
  • Loading branch information
kznakata committed Oct 31, 2022
2 parents f8d8671 + bf3181a commit 03bd229
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions fmpress-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: FMPress Forms
* Plugin URI: https://www.emic.co.jp/products/
* Description: Addon for Contact Form 7.
* Version: 1.3.0
* Version: 1.3.1
* Author: Emic Corporation
* Author URI: https://www.emic.co.jp/
* License: GPLv2 or later
Expand Down Expand Up @@ -42,7 +42,7 @@ final class FMPress_Forms {
* @since 1.0.0
* @var string
*/
const VERSION = '1.3.0';
const VERSION = '1.3.1';

/**
* Minimum Version of PHP
Expand Down
1 change: 0 additions & 1 deletion includes/class-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ private function format_posted_data( $cf7_settings, $posted_data ) {
} elseif ( 'date' === $group && Core\Utils::is_valid_date( $raw_value ) ) {
// Fix date format.
$value = Core\Utils::format_date_for_update( $raw_value );
$value = implode( "\r", $raw_value );
} elseif ( 'file' === $group ) {
// File upload.
$value = null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"name": "fmpress-forms",
"version": "1.3.0",
"version": "1.3.1",
"main": "Gruntfile.js",
"author": "Emic Corporation",
"scripts" : {
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== FMPress Forms ===
Contributors: emiccorp, matsuoatsushi
Contributors: emiccorp, matsuoatsushi, nue2501
Tags: claris, filemaker, database, contact form 7, form
Requires at least: 5.7
Tested up to: 6.0
Stable tag: 1.3.0
Stable tag: 1.3.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -61,6 +61,11 @@ You must add *fm_field-* as a prefix to the beginning of the form-tag name in th

== Changelog ==

= 1.3.1 =
Release Date: October 31, 2022

* Fix saving when using date type of form-tag

= 1.3.0 =
Release Date: October 24, 2022

Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/fmpress-forms-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function test_constant_value() {
* @return void
*/
public function test_plugin_version() {
$this->assertEquals( '1.3.0', self::$plugin::VERSION );
$this->assertEquals( '1.3.1', self::$plugin::VERSION );

$droot = 'true' === getenv( 'GITLAB_CI' ) ? '/home/wordpress' : '/var/www/html';
$data = get_plugin_data("${droot}/wp-content/plugins/fmpress-forms/fmpress-forms.php");
Expand Down

0 comments on commit 03bd229

Please sign in to comment.