Contact Form 7 - Version 4.4.2

Version Description

  • Language Packs: Language files for French (fr_FR), Russian (ru_RU), Slovak (sk_SK), and Turkish (tr_TR) have been removed from the plugin package.
  • Config Validation: Interoperability support for WordPress MU Domain Mapping plugin: Treats a mapping domain as the site domain when you compare an email address with the site domain.
  • Config Validation: Made email-in-site-domain verification case-insensitive.
Download this release

Release Info

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

Code changes from version 4.4.1 to 4.4.2

includes/formatting.php CHANGED
@@ -227,9 +227,11 @@ function wpcf7_is_mailbox_list( $mailbox_list ) {
227
 
228
  function wpcf7_is_email_in_domain( $email, $domain ) {
229
  $email_list = wpcf7_is_mailbox_list( $email );
 
230
 
231
  foreach ( $email_list as $email ) {
232
  $email_domain = substr( $email, strrpos( $email, '@' ) + 1 );
 
233
  $domain_parts = explode( '.', $domain );
234
 
235
  do {
@@ -263,7 +265,18 @@ function wpcf7_is_email_in_site_domain( $email ) {
263
  return true;
264
  }
265
 
266
- if ( preg_match( '%^https?://([^/]+)%', home_url(), $matches ) ) {
 
 
 
 
 
 
 
 
 
 
 
267
  $site_domain = strtolower( $matches[1] );
268
 
269
  if ( $site_domain != strtolower( $_SERVER['SERVER_NAME'] )
227
 
228
  function wpcf7_is_email_in_domain( $email, $domain ) {
229
  $email_list = wpcf7_is_mailbox_list( $email );
230
+ $domain = strtolower( $domain );
231
 
232
  foreach ( $email_list as $email ) {
233
  $email_domain = substr( $email, strrpos( $email, '@' ) + 1 );
234
+ $email_domain = strtolower( $email_domain );
235
  $domain_parts = explode( '.', $domain );
236
 
237
  do {
265
  return true;
266
  }
267
 
268
+ $home_url = home_url();
269
+
270
+ // for interoperability with WordPress MU Domain Mapping plugin
271
+ if ( is_multisite() && function_exists( 'domain_mapping_siteurl' ) ) {
272
+ $domain_mapping_siteurl = domain_mapping_siteurl( false );
273
+
274
+ if ( $domain_mapping_siteurl ) {
275
+ $home_url = $domain_mapping_siteurl;
276
+ }
277
+ }
278
+
279
+ if ( preg_match( '%^https?://([^/]+)%', $home_url, $matches ) ) {
280
  $site_domain = strtolower( $matches[1] );
281
 
282
  if ( $site_domain != strtolower( $_SERVER['SERVER_NAME'] )
languages/contact-form-7-fr_FR.mo DELETED
Binary file
languages/contact-form-7-ru_RU.mo DELETED
Binary file
languages/contact-form-7-sk_SK.mo DELETED
Binary file
languages/contact-form-7-tr_TR.mo DELETED
Binary file
languages/readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  == For Translators ==
2
 
3
- Note: this folder contains MO files and POT file only. If you are looking for PO file, you can download it from here:
4
 
5
- http://plugins.svn.wordpress.org/contact-form-7/branches/languages/
 
6
 
7
- If you have created your own translation, or have an update of an existing one, please send it to Takayuki Miyoshi <takayukister@gmail.com> so that I can bundle it into the next release of Contact Form 7.
8
 
9
- Thank you.
1
  == For Translators ==
2
 
3
+ We are migrating translations to translate.wordpress.org; the language files in this directory will be removed as soon as the languages are fully translated and available from translate.wordpress.org.
4
 
5
+ For details, see
6
+ http://contactform7.com/2016/01/08/translations-migrate-to-translate-wordpress-org/
7
 
8
+ We welcome your contribution to the collaborative translation project.
9
 
10
+ Thank you.
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: takayukister
3
  Donate link: http://contactform7.com/donate/
4
  Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
  Requires at least: 4.3
6
- Tested up to: 4.5
7
- Stable tag: 4.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -63,6 +63,12 @@ Do you have questions or issues with Contact Form 7? Use these support channels
63
 
64
  For more information, see [Releases](http://contactform7.com/category/releases/).
65
 
 
 
 
 
 
 
66
  = 4.4.1 =
67
 
68
  * Config Validation: Added a link to FAQ.
@@ -78,16 +84,3 @@ For more information, see [Releases](http://contactform7.com/category/releases/)
78
  * Attach a plain text version of the message when sending HTML mail.
79
  * Added do_not_store additional setting to tell data storage add-ons not to store data through the contact form.
80
  * The minimum required WordPress version has been changed from 4.2 to 4.3.
81
-
82
- = 4.3.1 =
83
-
84
- * Use wp_loaded action hook instead of init to initialize the controller process.
85
- * Fixed: Validation error messages for Really Simple CAPTCHA fields didn’t appear.
86
- * Display an alert message if there is a reCAPTCHA widget left unanswered.
87
- * Translations for Portuguese, Hungarian, and Turkish have been updated.
88
-
89
- = 4.3 =
90
-
91
- * reCAPTCHA module has been introduced.
92
- * Translations for Croatian, Danish, Persian, and Swedish have been updated.
93
- * WordPress 4.2 or higher is required.
3
  Donate link: http://contactform7.com/donate/
4
  Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
  Requires at least: 4.3
6
+ Tested up to: 4.5.1
7
+ Stable tag: 4.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
63
 
64
  For more information, see [Releases](http://contactform7.com/category/releases/).
65
 
66
+ = 4.4.2 =
67
+
68
+ * Language Packs: Language files for French (fr_FR), Russian (ru_RU), Slovak (sk_SK), and Turkish (tr_TR) have been removed from the plugin package.
69
+ * Config Validation: Interoperability support for WordPress MU Domain Mapping plugin: Treats a mapping domain as the site domain when you compare an email address with the site domain.
70
+ * Config Validation: Made email-in-site-domain verification case-insensitive.
71
+
72
  = 4.4.1 =
73
 
74
  * Config Validation: Added a link to FAQ.
84
  * Attach a plain text version of the message when sending HTML mail.
85
  * Added do_not_store additional setting to tell data storage add-ons not to store data through the contact form.
86
  * The minimum required WordPress version has been changed from 4.2 to 4.3.
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-contact-form-7.php CHANGED
@@ -7,10 +7,10 @@ Author: Takayuki Miyoshi
7
  Author URI: http://ideasilo.wordpress.com/
8
  Text Domain: contact-form-7
9
  Domain Path: /languages/
10
- Version: 4.4.1
11
  */
12
 
13
- define( 'WPCF7_VERSION', '4.4.1' );
14
 
15
  define( 'WPCF7_REQUIRED_WP_VERSION', '4.3' );
16
 
7
  Author URI: http://ideasilo.wordpress.com/
8
  Text Domain: contact-form-7
9
  Domain Path: /languages/
10
+ Version: 4.4.2
11
  */
12
 
13
+ define( 'WPCF7_VERSION', '4.4.2' );
14
 
15
  define( 'WPCF7_REQUIRED_WP_VERSION', '4.3' );
16