Contact Form 7 - Version 3.0.2.1

Version Description

  • Fix a critical bug of losing checkbox option values when you save contact form.
Download this release

Release Info

Developer takayukister
Plugin Icon 128x128 Contact Form 7
Version 3.0.2.1
Comparing to
See all releases

Code changes from version 3.0.2 to 3.0.2.1

includes/formatting.php CHANGED
@@ -71,6 +71,9 @@ function wpcf7_strip_quote_deep( $arr ) {
71
}
72
73
function wpcf7_normalize_newline( $text, $to = "\n" ) {
74
$nls = array( "\r\n", "\r", "\n" );
75
76
if ( ! in_array( $to, $nls ) )
@@ -80,9 +83,6 @@ function wpcf7_normalize_newline( $text, $to = "\n" ) {
80
}
81
82
function wpcf7_normalize_newline_deep( $arr, $to = "\n" ) {
83
- if ( is_string( $arr ) )
84
- return wpcf7_normalize_newline( $arr, $to );
85
-
86
if ( is_array( $arr ) ) {
87
$result = array();
88
@@ -91,6 +91,8 @@ function wpcf7_normalize_newline_deep( $arr, $to = "\n" ) {
91
92
return $result;
93
}
94
}
95
96
function wpcf7_canonicalize( $text ) {
71
}
72
73
function wpcf7_normalize_newline( $text, $to = "\n" ) {
74
+ if ( ! is_string( $text ) )
75
+ return $text;
76
+
77
$nls = array( "\r\n", "\r", "\n" );
78
79
if ( ! in_array( $to, $nls ) )
83
}
84
85
function wpcf7_normalize_newline_deep( $arr, $to = "\n" ) {
86
if ( is_array( $arr ) ) {
87
$result = array();
88
91
92
return $result;
93
}
94
+
95
+ return wpcf7_normalize_newline( $arr, $to );
96
}
97
98
function wpcf7_canonicalize( $text ) {
languages/wpcf7-de_DE.mo CHANGED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://contactform7.com/donate/
4
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
Requires at least: 3.2
6
Tested up to: 3.3
7
- Stable tag: 3.0.2
8
9
Just another contact form plugin. Simple but flexible.
10
@@ -108,6 +108,10 @@ Do you have questions or issues with Contact Form 7? Use these support channels
108
109
== Changelog ==
110
111
= 3.0.2 =
112
113
* Show alert messages when you use it on old version of WordPress.
@@ -118,7 +122,7 @@ Do you have questions or issues with Contact Form 7? Use these support channels
118
* Use wp_enqueue_scripts and admin_enqueue_scripts action hooks instead of wp_print_styles and admin_print_styles.
119
* Use wp_safe_redirect() instead of wp_redirect().
120
* Updated jquery.form.js to 2.94.
121
- * Translations for Esperanto has been created.
122
* Translations for German, Japanese, Malay, Thai, Slovak, and Hungarian have been updated.
123
124
= 3.0.1 =
4
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
Requires at least: 3.2
6
Tested up to: 3.3
7
+ Stable tag: 3.0.2.1
8
9
Just another contact form plugin. Simple but flexible.
10
108
109
== Changelog ==
110
111
+ = 3.0.2.1 =
112
+
113
+ * Fix a critical bug of losing checkbox option values when you save contact form.
114
+
115
= 3.0.2 =
116
117
* Show alert messages when you use it on old version of WordPress.
122
* Use wp_enqueue_scripts and admin_enqueue_scripts action hooks instead of wp_print_styles and admin_print_styles.
123
* Use wp_safe_redirect() instead of wp_redirect().
124
* Updated jquery.form.js to 2.94.
125
+ * Translation for Esperanto has been created.
126
* Translations for German, Japanese, Malay, Thai, Slovak, and Hungarian have been updated.
127
128
= 3.0.1 =
wp-contact-form-7.php CHANGED
@@ -7,7 +7,7 @@ Author: Takayuki Miyoshi
7
Author URI: http://ideasilo.wordpress.com/
8
Text Domain: wpcf7
9
Domain Path: /languages/
10
- Version: 3.0.2
11
*/
12
13
/* Copyright 2007-2011 Takayuki Miyoshi (email: takayukister at gmail.com)
@@ -27,7 +27,7 @@ Version: 3.0.2
27
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
*/
29
30
- define( 'WPCF7_VERSION', '3.0.2' );
31
32
define( 'WPCF7_REQUIRED_WP_VERSION', '3.2' );
33
7
Author URI: http://ideasilo.wordpress.com/
8
Text Domain: wpcf7
9
Domain Path: /languages/
10
+ Version: 3.0.2.1
11
*/
12
13
/* Copyright 2007-2011 Takayuki Miyoshi (email: takayukister at gmail.com)
27
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
*/
29
30
+ define( 'WPCF7_VERSION', '3.0.2.1' );
31
32
define( 'WPCF7_REQUIRED_WP_VERSION', '3.2' );
33