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

Version Description


  • *
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

Files changed (3) hide show
  1. index.php +8 -3
  2. persian-gravity.php +1 -0
  3. readme.txt +3 -3
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.0
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.0' );
19
 
20
  if ( ! defined( 'GF_PARSI_URL' ) )
21
  define('GF_PARSI_URL', plugins_url('', __FILE__) . '/' );
@@ -23,6 +23,11 @@ if ( ! defined( 'GF_PARSI_URL' ) )
23
  if ( ! defined( 'GF_PARSI_DIR' ) )
24
  define( 'GF_PARSI_DIR', plugin_dir_path( __FILE__ ) );
25
 
26
- load_plugin_textdomain( 'GF_FA', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
 
 
 
 
 
27
 
28
  include GF_PARSI_DIR . '/persian-gravity.php';
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
  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__) . '/' );
23
  if ( ! defined( 'GF_PARSI_DIR' ) )
24
  define( 'GF_PARSI_DIR', plugin_dir_path( __FILE__ ) );
25
 
26
+
27
+ add_action( 'plugins_loaded', 'persian_gravity_load_textdomain' );
28
+
29
+ function persian_gravity_load_textdomain() {
30
+ load_plugin_textdomain( 'GF_FA', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
31
+ }
32
 
33
  include GF_PARSI_DIR . '/persian-gravity.php';
persian-gravity.php CHANGED
@@ -186,6 +186,7 @@ class GFParsi {
186
  $styles[] = "gravity-forms-admin-rtl";
187
  $styles[] = "gravity-forms-admin-yekan";
188
  $styles[] = "gravity-forms-admin-droidsans";
 
189
  $styles[] = "print_entry";
190
  return $styles;
191
  }
186
  $styles[] = "gravity-forms-admin-rtl";
187
  $styles[] = "gravity-forms-admin-yekan";
188
  $styles[] = "gravity-forms-admin-droidsans";
189
+ $styles[] = "wp-parsi-fonts";
190
  $styles[] = "print_entry";
191
  return $styles;
192
  }
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.0
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,7 @@ This plugin extends the Gravity Forms and its addons with Persian language
53
 
54
 
55
  == Changelog ==
56
- = 2.0.0 =
57
  * بازنویسی مجدد
58
  * اضافه شدن شهر های ایران
59
  * رفع مشکلات
@@ -122,7 +122,7 @@ This plugin extends the Gravity Forms and its addons with Persian language
122
  * انتشار نسخه اولیه
123
 
124
  == Upgrade Notice ==
125
- = 2.0.0 =
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.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
 
54
 
55
  == Changelog ==
56
+ = 2.0.1 =
57
  * بازنویسی مجدد
58
  * اضافه شدن شهر های ایران
59
  * رفع مشکلات
122
  * انتشار نسخه اولیه
123
 
124
  == Upgrade Notice ==
125
+ = 2.0.1 =
126
  * بازنویسی مجدد
127
  * اضافه شدن شهر های ایران
128
  * رفع مشکلات