Contact Form 7 - Version 2.4.4

Version Description

  • Translation for Sinhala has been created by Nitin Aggarwal.
  • Translations for German (Ivan Graf), Russian (Denis Voituk), Simplified Chinese (Keefe Dunn) and Polish (RafalDesign) have been updated.
  • Fixed wrong [_url] special mail tag output.
Download this release

Release Info

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

Code changes from version 2.4.3 to 2.4.4

includes/functions.php CHANGED
@@ -208,6 +208,7 @@ function wpcf7_l10n() {
208
  'ru_RU' => __( 'Russian', 'wpcf7' ),
209
  'ro_RO' => __( 'Romanian', 'wpcf7' ),
210
  'sr_RS' => __( 'Serbian', 'wpcf7' ),
 
211
  'sk' => __( 'Slovak', 'wpcf7' ),
212
  'sl_SI' => __( 'Slovene', 'wpcf7' ),
213
  'es_ES' => __( 'Spanish', 'wpcf7' ),
208
  'ru_RU' => __( 'Russian', 'wpcf7' ),
209
  'ro_RO' => __( 'Romanian', 'wpcf7' ),
210
  'sr_RS' => __( 'Serbian', 'wpcf7' ),
211
+ 'si_LK' => __( 'Sinhala', 'wpcf7' ),
212
  'sk' => __( 'Slovak', 'wpcf7' ),
213
  'sl_SI' => __( 'Slovene', 'wpcf7' ),
214
  'es_ES' => __( 'Spanish', 'wpcf7' ),
languages/wpcf7-de_DE.mo CHANGED
Binary file
languages/wpcf7-pl_PL.mo CHANGED
Binary file
languages/wpcf7-ru_RU.mo CHANGED
Binary file
languages/wpcf7-si_LK.mo ADDED
Binary file
languages/wpcf7-ta.mo CHANGED
Binary file
languages/wpcf7-zh_CN.mo CHANGED
Binary file
modules/special-mail-tags.php CHANGED
@@ -13,8 +13,12 @@ function wpcf7_special_mail_tag( $output, $name ) {
13
  if ( '_remote_ip' == $name )
14
  $output = preg_replace( '/[^0-9a-f.:, ]/', '', $_SERVER['REMOTE_ADDR'] );
15
 
16
- elseif ( '_url' == $name )
17
- $output = get_option( 'home' ) . wpcf7_get_request_uri();
 
 
 
 
18
 
19
  elseif ( '_date' == $name )
20
  $output = date_i18n( get_option( 'date_format' ) );
13
  if ( '_remote_ip' == $name )
14
  $output = preg_replace( '/[^0-9a-f.:, ]/', '', $_SERVER['REMOTE_ADDR'] );
15
 
16
+ elseif ( '_url' == $name ) {
17
+ $url = untrailingslashit( home_url() );
18
+ $url = preg_replace( '%(?<!:|/)/.*$%', '', $url );
19
+ $url .= wpcf7_get_request_uri();
20
+ $output = $url;
21
+ }
22
 
23
  elseif ( '_date' == $name )
24
  $output = date_i18n( get_option( 'date_format' ) );
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: 2.9
6
- Tested up to: 3.0.4
7
- Stable tag: 2.4.3
8
 
9
  Just another contact form plugin. Simple but flexible.
10
 
@@ -33,7 +33,7 @@ It is hard to continue development and support for this plugin without contribut
33
  * Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/), [Henrique Vianna](http://henriquevianna.com/), [Caciano Gabriel Batista](http://www.gn10.com.br/), [Gervásio Antônio](http://twitter.com/gervasioantonio)
34
  * Bulgarian (bg_BG) - [Iliyan Darganov](http://www.darganov.com/)
35
  * Catalan (ca) - [Jordi Sancho](http://www.qasolutions.net/blog), Robert Buj
36
- * Chinese, Simplified (zh_CN) - [Soz](http://www.webtoolol.com/)
37
  * Chinese, Traditional (zh_TW) - [James Wu](http://jameswublog.com)
38
  * Croatian (hr) - [tolingo Translation Services](http://www.tolingo.com)
39
  * Czech (cs_CZ) - Korry, [Radovan Fiser](http://algymsa.cz/)
@@ -60,11 +60,12 @@ It is hard to continue development and support for this plugin without contribut
60
  * Malayalam (ml_IN) - [RAHUL.S.A](http://www.infution.co.cc/)
61
  * Norwegian (nb_NO) - Kjetil M. Bergem, [aanvik.net](http://www.aanvik.net), [Peter Holme](http://holme.se/nettsteder/)
62
  * Persian (Farsi; fa_IR) - [Mohammad Musavi](http://www.musavis.com/)
63
- * Polish (pl_PL) - [Zbigniew Czernik](http://zibik.jogger.pl/), [Daniel Fruzynski](http://www.poradnik-webmastera.com)
64
  * Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com)
65
- * Russian (ru_RU) - Dmitry Volotovich
66
- * Romanian (ro_RO) - [Stas Sushkov](http://stas.nerd.ro/), Anunturi Jibo
67
  * Serbian (sr_RS) - [Vedran](http://www.seorabbit.com/), [Aleksandar Urošević](http://blog.urosevic.net/)
 
68
  * Slovak (sk) - [Patrik Bóna](http://www.mrhead.sk/)
69
  * Slovene (sl_SI) - [Mihael Simonič](http://smihael.bplaced.net)
70
  * Spanish (es_ES) - [Jordi Sancho](http://www.qasolutions.net/blog), [Vladimir Prieto](http://vladimir.prie.to/), [Federico Mikaelian](http://www.fedemika.com.ar/), [Matias Baldanza](http://matiasbaldanza.com/)
@@ -103,6 +104,12 @@ Do you have questions or issues with Contact Form 7? Use these support channels
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
 
106
  = 2.4.3 =
107
 
108
  * Translation for Armenian has been created by Emmanuelle Traduction.
3
  Donate link: http://contactform7.com/donate/
4
  Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
  Requires at least: 2.9
6
+ Tested up to: 3.0.5
7
+ Stable tag: 2.4.4
8
 
9
  Just another contact form plugin. Simple but flexible.
10
 
33
  * Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/), [Henrique Vianna](http://henriquevianna.com/), [Caciano Gabriel Batista](http://www.gn10.com.br/), [Gervásio Antônio](http://twitter.com/gervasioantonio)
34
  * Bulgarian (bg_BG) - [Iliyan Darganov](http://www.darganov.com/)
35
  * Catalan (ca) - [Jordi Sancho](http://www.qasolutions.net/blog), Robert Buj
36
+ * Chinese, Simplified (zh_CN) - [Soz](http://www.webtoolol.com/), [Keefe Dunn](http://dengkefu.com/)
37
  * Chinese, Traditional (zh_TW) - [James Wu](http://jameswublog.com)
38
  * Croatian (hr) - [tolingo Translation Services](http://www.tolingo.com)
39
  * Czech (cs_CZ) - Korry, [Radovan Fiser](http://algymsa.cz/)
60
  * Malayalam (ml_IN) - [RAHUL.S.A](http://www.infution.co.cc/)
61
  * Norwegian (nb_NO) - Kjetil M. Bergem, [aanvik.net](http://www.aanvik.net), [Peter Holme](http://holme.se/nettsteder/)
62
  * Persian (Farsi; fa_IR) - [Mohammad Musavi](http://www.musavis.com/)
63
+ * Polish (pl_PL) - [Zbigniew Czernik](http://zibik.jogger.pl/), [Daniel Fruzynski](http://www.poradnik-webmastera.com), [RafalDesign](http://www.rafaldesign.pl/)
64
  * Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com)
65
+ * Russian (ru_RU) - Dmitry Volotovich, [Denis Voituk](http://artprima.cz/)
66
+ * Romanian (ro_RO) - [Stas Sushkov](http://stas.nerd.ro/), [Anunturi Jibo](http://www.jibo.ro/)
67
  * Serbian (sr_RS) - [Vedran](http://www.seorabbit.com/), [Aleksandar Urošević](http://blog.urosevic.net/)
68
+ * Sinhala (si_LK) - [Nitin Aggarwal](http://offshoreally.com/)
69
  * Slovak (sk) - [Patrik Bóna](http://www.mrhead.sk/)
70
  * Slovene (sl_SI) - [Mihael Simonič](http://smihael.bplaced.net)
71
  * Spanish (es_ES) - [Jordi Sancho](http://www.qasolutions.net/blog), [Vladimir Prieto](http://vladimir.prie.to/), [Federico Mikaelian](http://www.fedemika.com.ar/), [Matias Baldanza](http://matiasbaldanza.com/)
104
 
105
  == Changelog ==
106
 
107
+ = 2.4.4 =
108
+
109
+ * Translation for Sinhala has been created by Nitin Aggarwal.
110
+ * Translations for German (Ivan Graf), Russian (Denis Voituk), Simplified Chinese (Keefe Dunn) and Polish (RafalDesign) have been updated.
111
+ * Fixed wrong [_url] special mail tag output.
112
+
113
  = 2.4.3 =
114
 
115
  * Translation for Armenian has been created by Emmanuelle Traduction.
wp-contact-form-7.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://contactform7.com/
5
  Description: Just another contact form plugin. Simple but flexible.
6
  Author: Takayuki Miyoshi
7
  Author URI: http://ideasilo.wordpress.com/
8
- Version: 2.4.3
9
  */
10
 
11
  /* Copyright 2007-2011 Takayuki Miyoshi (email: takayukister at gmail.com)
@@ -25,7 +25,7 @@ Version: 2.4.3
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
- define( 'WPCF7_VERSION', '2.4.3' );
29
 
30
  if ( ! defined( 'WPCF7_PLUGIN_BASENAME' ) )
31
  define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
5
  Description: Just another contact form plugin. Simple but flexible.
6
  Author: Takayuki Miyoshi
7
  Author URI: http://ideasilo.wordpress.com/
8
+ Version: 2.4.4
9
  */
10
 
11
  /* Copyright 2007-2011 Takayuki Miyoshi (email: takayukister at gmail.com)
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
+ define( 'WPCF7_VERSION', '2.4.4' );
29
 
30
  if ( ! defined( 'WPCF7_PLUGIN_BASENAME' ) )
31
  define( 'WPCF7_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );