گرویتی فرم فارسی - Version 2.0.2

Version Description

*

Download this release

Release Info

Developer hannanstd
Plugin Icon 128x128 گرویتی فرم فارسی
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

includes/class-post-content-merge-tags.php CHANGED
@@ -98,6 +98,7 @@ class GFParsi_Post_Content_Merge_Tags {
98
  }
99
  else {
100
 
 
101
  preg_match_all( '/{[^{]*?:(\d+(\.\d+)?)(:(.*?))?}/mi', $text, $matches, PREG_SET_ORDER );
102
  if( !empty( $matches ) ) {
103
  foreach( $matches as $match ) {
@@ -115,6 +116,8 @@ class GFParsi_Post_Content_Merge_Tags {
115
  $text = str_replace( $match[0], '' , $text );
116
  }
117
  }
 
 
118
  }
119
 
120
  return $text;
98
  }
99
  else {
100
 
101
+ /*
102
  preg_match_all( '/{[^{]*?:(\d+(\.\d+)?)(:(.*?))?}/mi', $text, $matches, PREG_SET_ORDER );
103
  if( !empty( $matches ) ) {
104
  foreach( $matches as $match ) {
116
  $text = str_replace( $match[0], '' , $text );
117
  }
118
  }
119
+ */
120
+
121
  }
122
 
123
  return $text;
includes/class-snippets.php CHANGED
@@ -78,4 +78,4 @@ function gfir_gform_tabindexer( $tab_index, $form = false ) {
78
  }
79
 
80
 
81
- add_filter( 'gform_confirmation_anchor', '__return_true' );
78
  }
79
 
80
 
81
+ add_filter( 'gform_confirmation_anchor', '__return_false' );
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Persian Gravity Forms
4
  Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
5
  Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
6
- Version: 2.0.1
7
  Requires at least: 4.0
8
  Author: hannansoft
9
  Author URI: http://www.gravityforms.ir/
@@ -15,7 +15,7 @@ License: GPL 2
15
  if ( ! defined( 'ABSPATH' ) ) exit;
16
 
17
  if ( ! defined( 'GF_PARSI_VERSION' ) )
18
- define('GF_PARSI_VERSION', '2.0.1' );
19
 
20
  if ( ! defined( 'GF_PARSI_URL' ) )
21
  define('GF_PARSI_URL', plugins_url('', __FILE__) . '/' );
3
  Plugin Name: Persian Gravity Forms
4
  Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
5
  Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
6
+ Version: 2.0.2
7
  Requires at least: 4.0
8
  Author: hannansoft
9
  Author URI: http://www.gravityforms.ir/
15
  if ( ! defined( 'ABSPATH' ) ) exit;
16
 
17
  if ( ! defined( 'GF_PARSI_VERSION' ) )
18
+ define('GF_PARSI_VERSION', '2.0.2' );
19
 
20
  if ( ! defined( 'GF_PARSI_URL' ) )
21
  define('GF_PARSI_URL', plugins_url('', __FILE__) . '/' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,grav
4
  Donate link: http://gravityforms.ir
5
  Requires at least: 4.0
6
  Tested up to: 4.4.4
7
- Stable tag: 2.0.1
8
  License: GPL 2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
@@ -53,7 +53,11 @@ This plugin extends the Gravity Forms and its addons with Persian language
53
 
54
 
55
  == Changelog ==
 
 
56
  = 2.0.1 =
 
 
57
  * بازنویسی مجدد
58
  * اضافه شدن شهر های ایران
59
  * رفع مشکلات
@@ -122,7 +126,11 @@ This plugin extends the Gravity Forms and its addons with Persian language
122
  * انتشار نسخه اولیه
123
 
124
  == Upgrade Notice ==
 
 
125
  = 2.0.1 =
 
 
126
  * بازنویسی مجدد
127
  * اضافه شدن شهر های ایران
128
  * رفع مشکلات
4
  Donate link: http://gravityforms.ir
5
  Requires at least: 4.0
6
  Tested up to: 4.4.4
7
+ Stable tag: 2.0.2
8
  License: GPL 2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
53
 
54
 
55
  == Changelog ==
56
+ = 2.0.2 =
57
+ * رفع باگ
58
  = 2.0.1 =
59
+ * رفع باگ
60
+ = 2.0.0 =
61
  * بازنویسی مجدد
62
  * اضافه شدن شهر های ایران
63
  * رفع مشکلات
126
  * انتشار نسخه اولیه
127
 
128
  == Upgrade Notice ==
129
+ = 2.0.2 =
130
+ * رفع باگ
131
  = 2.0.1 =
132
+ * رفع باگ
133
+ = 2.0.0 =
134
  * بازنویسی مجدد
135
  * اضافه شدن شهر های ایران
136
  * رفع مشکلات