Saphali Woocommerce Russian - Version 1.8.8

Version Description

  • Fix WC 4 .
Download this release

Release Info

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

Code changes from version 1.8.7 to 1.8.8

Files changed (2) hide show
  1. readme.txt +5 -2
  2. saphali-woocommerce-lite.php +5 -4
readme.txt CHANGED
@@ -5,8 +5,8 @@ Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
5
  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: 5.3
9
- Stable tag: 1.8.7
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.7 =
80
  * Мелкие ошибки. Оптимизация кода.
81
 
5
  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: 5.4
9
+ Stable tag: 1.8.8
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.8 =
80
+ * Fix символа в WC 4 в отчетах.
81
+
82
  = 1.8.7 =
83
  * Мелкие ошибки. Оптимизация кода.
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.7
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.9
13
  */
14
 
15
 
@@ -35,7 +35,7 @@ WC tested up to: 3.9
35
 
36
  // Подключение валюты и локализации
37
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
38
- define('SAPHALI_LITE_VERSION', '1.8.7' );
39
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
40
  class saphali_lite {
41
  var $email_order_id;
@@ -671,7 +671,7 @@ public function woocommerce_checkout_posted_data( $data ) {
671
  if( version_compare( WOOCOMMERCE_VERSION, '2.5.2', '<' ) || SAPHALI_LITE_SYMBOL )
672
  switch( $currency ) {
673
  case 'UAH': $symbol = '&#x433;&#x440;&#x43D;.'; break;
674
- case 'RUB': $symbol = '<span class=rur >&#x440;<span>&#x443;&#x431;.</span></span>'; break;
675
  case 'RUR': $symbol = '&#x440;&#x443;&#x431;.'; break;
676
  case 'BYN': $symbol = '&#x440;&#x443;&#x431;.'; break;
677
  case 'BYR': $symbol = '&#x440;&#x443;&#x431;.'; break;
@@ -723,6 +723,7 @@ public function woocommerce_checkout_posted_data( $data ) {
723
  <h2 class="woo-nav-tab-wrapper">Число колонок в каталоге товаров и в рубриках</h2>
724
  <?php include_once (SAPHALI_PLUGIN_DIR_PATH . 'count-column.php'); } elseif($_GET["tab"] == 1) {
725
  global $woocommerce;
 
726
  if ( empty( $woocommerce->checkout ) ) {
727
 
728
  if ( version_compare( WOOCOMMERCE_VERSION, '2.0', '<' ) ) {
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.8
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: 4.0
13
  */
14
 
15
 
35
 
36
  // Подключение валюты и локализации
37
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
38
+ define('SAPHALI_LITE_VERSION', '1.8.8' );
39
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
40
  class saphali_lite {
41
  var $email_order_id;
671
  if( version_compare( WOOCOMMERCE_VERSION, '2.5.2', '<' ) || SAPHALI_LITE_SYMBOL )
672
  switch( $currency ) {
673
  case 'UAH': $symbol = '&#x433;&#x440;&#x43D;.'; break;
674
+ case 'RUB': if( is_admin() ) $symbol = '&#x440;&#x443;&#x431;.'; else $symbol = '<span class=rur >&#x440;<span>&#x443;&#x431;.</span></span>'; break;
675
  case 'RUR': $symbol = '&#x440;&#x443;&#x431;.'; break;
676
  case 'BYN': $symbol = '&#x440;&#x443;&#x431;.'; break;
677
  case 'BYR': $symbol = '&#x440;&#x443;&#x431;.'; break;
723
  <h2 class="woo-nav-tab-wrapper">Число колонок в каталоге товаров и в рубриках</h2>
724
  <?php include_once (SAPHALI_PLUGIN_DIR_PATH . 'count-column.php'); } elseif($_GET["tab"] == 1) {
725
  global $woocommerce;
726
+ remove_filter( 'woocommerce_checkout_fields' , 'woo_customize_checkout_fields' );
727
  if ( empty( $woocommerce->checkout ) ) {
728
 
729
  if ( version_compare( WOOCOMMERCE_VERSION, '2.0', '<' ) ) {