Parsi Date - Version 2.3.1

Version Description

  • Fix date picker's month dropdown bug in admin edit post. #issue
Download this release

Release Info

Developer mostafa.s1990
Plugin Icon Parsi Date
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0.2 to 2.3.1

assets/css/editor-font.css ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ @import url('admin-fonts.css');
2
+
3
+ body {
4
+ font-family: 'DroidNaskh', 'Roboto', tahoma, sans-serif !important;
5
+ font-size: 15px !important;
6
+ }
assets/js/admin.js CHANGED
@@ -59,7 +59,7 @@ jQuery(document).ready(function () {
59
  var div = '<div class="timestamp-wrap persian">' +
60
  '<select id="mma" name="mma">';
61
  for (var i = 1; i < 13; i++) {
62
- if (i === mon)
63
  div += '<option value="' + i + '" selected="selected">' + persian_month_names[i] + '</option>';
64
  else
65
  div += '<option value="' + i + '">' + persian_month_names[i] + '</option>';
59
  var div = '<div class="timestamp-wrap persian">' +
60
  '<select id="mma" name="mma">';
61
  for (var i = 1; i < 13; i++) {
62
+ if (i === parseInt(mon))
63
  div += '<option value="' + i + '" selected="selected">' + persian_month_names[i] + '</option>';
64
  else
65
  div += '<option value="' + i + '">' + persian_month_names[i] + '</option>';
includes/admin/styles-fix.php CHANGED
@@ -33,7 +33,7 @@ function wpp_fix_tinymce_font()
33
 
34
  add_editor_style(WP_PARSI_URL . 'assets/css/editor.css');
35
  if (isset($wpp_settings['droidsans_editor']) && $wpp_settings['droidsans_editor'] != 'disable') {
36
- add_editor_style(WP_PARSI_URL . 'assets/css/editor-font-rtl.css');
37
  }
38
  }
39
 
33
 
34
  add_editor_style(WP_PARSI_URL . 'assets/css/editor.css');
35
  if (isset($wpp_settings['droidsans_editor']) && $wpp_settings['droidsans_editor'] != 'disable') {
36
+ add_editor_style(WP_PARSI_URL . 'assets/css/editor-font.css');
37
  }
38
  }
39
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: lord_viper, man4toman, iEhsan.ir, parselearn
3
  Donate link: http://forum.wp-parsi.com/
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
- Tested up to: 4.7
7
- Stable tag: trunk
8
 
9
  Persian date support for WordPress
10
 
@@ -41,6 +41,8 @@ List of some features:
41
  4. 'Jalali Date Calender' in action
42
 
43
  == Changelog ==
 
 
44
 
45
  = 2.3.0.2 =
46
  * Fix set editor font css
3
  Donate link: http://forum.wp-parsi.com/
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
+ Tested up to: 4.8
7
+ Stable tag: 2.3.1
8
 
9
  Persian date support for WordPress
10
 
41
  4. 'Jalali Date Calender' in action
42
 
43
  == Changelog ==
44
+ = 2.3.1 =
45
+ * Fix date picker's month dropdown bug in admin edit post. [#issue](https://github.com/wordpress-parsi/wp-parsidate/issues/5)
46
 
47
  = 2.3.0.2 =
48
  * Fix set editor font css
wp-parsidate.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: WP-Parsidate
4
- * Version: 2.3.0.2
5
  * Plugin URI: http://forum.wp-parsi.com/
6
  * Description: Persian package for WordPress, Adds full RTL and Shamsi (Jalali) support for: posts, comments, pages, archives, search, categories, permalinks and all admin sections and TinyMce editor, lists, quick editor. This package has Jalali archive widget.
7
  * Author: WP-Parsi Team
1
  <?php
2
  /**
3
  * Plugin Name: WP-Parsidate
4
+ * Version: 2.3.1
5
  * Plugin URI: http://forum.wp-parsi.com/
6
  * Description: Persian package for WordPress, Adds full RTL and Shamsi (Jalali) support for: posts, comments, pages, archives, search, categories, permalinks and all admin sections and TinyMce editor, lists, quick editor. This package has Jalali archive widget.
7
  * Author: WP-Parsi Team