Saphali Woocommerce Russian - Version 1.8.3

Version Description

  • .
Download this release

Release Info

Developer Saphali
Plugin Icon wp plugin Saphali Woocommerce Russian
Version 1.8.3
Comparing to
See all releases

Code changes from version 1.8.2 to 1.8.3

Files changed (2) hide show
  1. readme.txt +4 -1
  2. saphali-woocommerce-lite.php +10 -4
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://money.yandex.ru/to/410011651211340
6
  Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
7
  Requires at least: WP 3.3 or higher & WooCommerce 1.6.6 or higher
8
  Tested up to: 4.9
9
- Stable tag: 1.8.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -76,6 +76,9 @@ define('SAPHALI_LITE_SYMBOL', 0 );
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 1.8.2 =
80
  * Fix позиции полей на странице заказа в WC > 3.0.
81
  * Небольшие правки.
6
  Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
7
  Requires at least: WP 3.3 or higher & WooCommerce 1.6.6 or higher
8
  Tested up to: 4.9
9
+ Stable tag: 1.8.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
76
 
77
  == Changelog ==
78
 
79
+ = 1.8.3 =
80
+ * Небольшие правки.
81
+
82
  = 1.8.2 =
83
  * Fix позиции полей на странице заказа в WC > 3.0.
84
  * Небольшие правки.
saphali-woocommerce-lite.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Saphali Woocommerce Russian
4
  Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
5
  Description: Saphali Woocommerce Russian - это бесплатный вордпресс плагин, который добавляет набор дополнений к интернет-магазину на Woocommerce.
6
- Version: 1.8.2
7
  Author: Saphali
8
  Author URI: http://saphali.com/
9
  Text Domain: saphali-woocommerce-lite
10
  Domain Path: /languages
11
  WC requires at least: 1.6.6
12
- WC tested up to: 3.4
13
  */
14
 
15
 
@@ -35,7 +35,7 @@ WC tested up to: 3.4
35
 
36
  // Подключение валюты и локализации
37
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
38
- define('SAPHALI_LITE_VERSION', '1.8.1' );
39
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
40
  class saphali_lite {
41
  var $email_order_id;
@@ -1673,7 +1673,7 @@ WC tested up to: 3.4
1673
  }
1674
  $_a_ = array_diff($__fields, $fields);
1675
  if(is_array($_a_) && is_array($fields) ) $fields = (array)$fields + (array)$_a_;
1676
-
1677
  foreach($fields as $key => $value) {
1678
  if(isset($fields[$v][$key]["order"]))
1679
  $fields[$v][$key]["priority"] = $value["order"]+10;
@@ -1697,9 +1697,12 @@ WC tested up to: 3.4
1697
 
1698
  if(is_array($fieldss))
1699
  $fields = $fieldss["billing"];
 
1700
  foreach($fields as $key => $value) {
1701
  if(isset($fields[$v][$key]["order"]))
1702
  $fields[$v][$key]["priority"] = $value["order"]+10;
 
 
1703
  if(isset($fields[$key]["label"]))
1704
  $fields[$key]["label"] = __($value["label"], 'woocommerce');
1705
  if(isset($fields[$key]["placeholder"]))
@@ -1715,9 +1718,12 @@ WC tested up to: 3.4
1715
  $fieldss = $this->fieldss;
1716
  if(is_array($fieldss))
1717
  $fields = $fieldss["shipping"];
 
1718
  foreach($fields as $key => $value) {
1719
  if(isset($fields[$v][$key]["order"]))
1720
  $fields[$v][$key]["priority"] = $value["order"]+10;
 
 
1721
  if(isset($fields[$key]["label"]))
1722
  $fields[$key]["label"] = __($value["label"], 'woocommerce');
1723
  if(isset($fields[$key]["placeholder"]))
3
  Plugin Name: Saphali Woocommerce Russian
4
  Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
5
  Description: Saphali Woocommerce Russian - это бесплатный вордпресс плагин, который добавляет набор дополнений к интернет-магазину на Woocommerce.
6
+ Version: 1.8.3
7
  Author: Saphali
8
  Author URI: http://saphali.com/
9
  Text Domain: saphali-woocommerce-lite
10
  Domain Path: /languages
11
  WC requires at least: 1.6.6
12
+ WC tested up to: 3.5
13
  */
14
 
15
 
35
 
36
  // Подключение валюты и локализации
37
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
38
+ define('SAPHALI_LITE_VERSION', '1.8.3' );
39
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
40
  class saphali_lite {
41
  var $email_order_id;
1673
  }
1674
  $_a_ = array_diff($__fields, $fields);
1675
  if(is_array($_a_) && is_array($fields) ) $fields = (array)$fields + (array)$_a_;
1676
+ $v = 'billing';
1677
  foreach($fields as $key => $value) {
1678
  if(isset($fields[$v][$key]["order"]))
1679
  $fields[$v][$key]["priority"] = $value["order"]+10;
1697
 
1698
  if(is_array($fieldss))
1699
  $fields = $fieldss["billing"];
1700
+ $v = 'billing';
1701
  foreach($fields as $key => $value) {
1702
  if(isset($fields[$v][$key]["order"]))
1703
  $fields[$v][$key]["priority"] = $value["order"]+10;
1704
+ elseif(isset($fields[$key]["order"]))
1705
+ $fields[$key]["priority"] = $value["order"]+10;
1706
  if(isset($fields[$key]["label"]))
1707
  $fields[$key]["label"] = __($value["label"], 'woocommerce');
1708
  if(isset($fields[$key]["placeholder"]))
1718
  $fieldss = $this->fieldss;
1719
  if(is_array($fieldss))
1720
  $fields = $fieldss["shipping"];
1721
+ $v = 'shipping';
1722
  foreach($fields as $key => $value) {
1723
  if(isset($fields[$v][$key]["order"]))
1724
  $fields[$v][$key]["priority"] = $value["order"]+10;
1725
+ elseif(isset($fields[$key]["order"]))
1726
+ $fields[$key]["priority"] = $value["order"]+10;
1727
  if(isset($fields[$key]["label"]))
1728
  $fields[$key]["label"] = __($value["label"], 'woocommerce');
1729
  if(isset($fields[$key]["placeholder"]))