Customer Reviews for WooCommerce - Version 5.6.1

Version Description

  • Bug fixes and minor improvements
Download this release

Release Info

Developer ivole
Plugin Icon 128x128 Customer Reviews for WooCommerce
Version 5.6.1
Comparing to
See all releases

Code changes from version 5.6.0 to 5.6.1

class-ivole.php CHANGED
@@ -66,7 +66,7 @@ require_once( __DIR__ . '/includes/qna/class-cr-qna-shortcode.php' );
66
  require_once( __DIR__ . '/includes/qna/class-cr-qna-email.php' );
67
 
68
  class Ivole {
69
- const CR_VERSION = '5.6.0';
70
 
71
  public function __construct() {
72
  if( function_exists( 'wc' ) ) {
66
  require_once( __DIR__ . '/includes/qna/class-cr-qna-email.php' );
67
 
68
  class Ivole {
69
+ const CR_VERSION = '5.6.1';
70
 
71
  public function __construct() {
72
  if( function_exists( 'wc' ) ) {
includes/emails/class-cr-email-func.php CHANGED
@@ -304,7 +304,7 @@ if ( ! class_exists( 'CR_Email_Func' ) ) :
304
  $data['order']['items'],
305
  $is_test,
306
  $data['language'],
307
- null,
308
  );
309
  }
310
 
304
  $data['order']['items'],
305
  $is_test,
306
  $data['language'],
307
+ null
308
  );
309
  }
310
 
includes/reminders/class-cr-local-forms.php CHANGED
@@ -312,7 +312,7 @@ if ( ! class_exists( 'CR_Local_Forms' ) ) :
312
  'formHeader' => $header,
313
  'formBody' => $body,
314
  'items' => json_encode( $items ),
315
- 'language' => $language,
316
  );
317
  $insert_args = apply_filters(
318
  'cr_local_form_insert',
312
  'formHeader' => $header,
313
  'formBody' => $body,
314
  'items' => json_encode( $items ),
315
+ 'language' => $language
316
  );
317
  $insert_args = apply_filters(
318
  'cr_local_form_insert',
ivole.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Customer Reviews for WooCommerce
4
  Description: Customer Reviews for WooCommerce plugin helps you get more customer reviews for your shop by sending automated reminders and coupons.
5
  Plugin URI: https://wordpress.org/plugins/customer-reviews-woocommerce/
6
- Version: 5.6.0
7
  Author: CusRev
8
  Author URI: https://www.cusrev.com/business/
9
  Text Domain: customer-reviews-woocommerce
@@ -175,6 +175,11 @@ function ivole_get_site_url( $blog_id = null, $path = '', $scheme = null ) {
175
  */
176
  function ivole_is_duplicate_site() {
177
 
 
 
 
 
 
178
  if ( defined( 'WP_SITEURL' ) ) {
179
  $site_url = WP_SITEURL;
180
  } else {
3
  Plugin Name: Customer Reviews for WooCommerce
4
  Description: Customer Reviews for WooCommerce plugin helps you get more customer reviews for your shop by sending automated reminders and coupons.
5
  Plugin URI: https://wordpress.org/plugins/customer-reviews-woocommerce/
6
+ Version: 5.6.1
7
  Author: CusRev
8
  Author URI: https://www.cusrev.com/business/
9
  Text Domain: customer-reviews-woocommerce
175
  */
176
  function ivole_is_duplicate_site() {
177
 
178
+ // WPML compatibility for situation when different languages are assigned to different domains but share the same database
179
+ if( defined( 'ICL_LANGUAGE_CODE' ) && ICL_LANGUAGE_CODE ) {
180
+ return false;
181
+ }
182
+
183
  if ( defined( 'WP_SITEURL' ) ) {
184
  $site_url = WP_SITEURL;
185
  } else {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ivole
3
  Tags: woocommerce, review plugin, review reminder, customer reviews, review for discount
4
  Requires at least: 4.5
5
  Tested up to: 6.0
6
- Stable tag: 5.6.0
7
  License: GPLv3 or later
8
  License URI: https://www.gnu.org/licenses/gpl.html
9
 
@@ -218,6 +218,8 @@ If you would like to change how reviews are sorted on product pages, it is possi
218
 
219
  == Changelog ==
220
 
 
 
221
  = 5.6.0 =
222
  * New feature: enhanced settings for variable product identifiers in the XML reviews feed for Google Shopping
223
  * Bug fixes and minor improvements
3
  Tags: woocommerce, review plugin, review reminder, customer reviews, review for discount
4
  Requires at least: 4.5
5
  Tested up to: 6.0
6
+ Stable tag: 5.6.1
7
  License: GPLv3 or later
8
  License URI: https://www.gnu.org/licenses/gpl.html
9
 
218
 
219
  == Changelog ==
220
 
221
+ = 5.6.1 =
222
+ * Bug fixes and minor improvements
223
  = 5.6.0 =
224
  * New feature: enhanced settings for variable product identifiers in the XML reviews feed for Google Shopping
225
  * Bug fixes and minor improvements