WP Product Review Lite - Version 3.4.5

Version Description

  • 2018-06-18
Download this release

Release Info

Developer codeinwp
Plugin Icon WP Product Review Lite
Version 3.4.5
Comparing to
See all releases

Code changes from version 3.4.4 to 3.4.5

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v3.4.4 - 2018-06-11
3
  **Changes:**
4
  * Fixed issue with HTML tag not being closed
1
 
2
+ ### v3.4.5 - 2018-06-18
3
+ **Changes:**
4
+ * Fixed problem with product price alignment on the first template
5
+
6
  ### v3.4.4 - 2018-06-11
7
  **Changes:**
8
  * Fixed issue with HTML tag not being closed
includes/class-wppr.php CHANGED
@@ -67,7 +67,7 @@ class WPPR {
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
- $this->version = '3.4.4';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
+ $this->version = '3.4.5';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
includes/public/layouts/default.php CHANGED
@@ -36,8 +36,9 @@ $cons = $review_object->get_cons();
36
  <div class="review-wrap-up cwpr_clearfix">
37
  <div class="cwpr-review-top cwpr_clearfix">
38
  <span><h2 class="cwp-item"><?php echo esc_html( $review_object->get_name() ); ?></h2></span>
39
- <span class="cwp-item-price cwp-item"></span>
40
- <span><?php echo esc_html( empty( $price_raw ) ? '' : $price_raw ); ?></span>
 
41
  </div><!-- end .cwpr-review-top -->
42
  <div class="review-wu-content cwpr_clearfix">
43
  <div class="review-wu-left">
36
  <div class="review-wrap-up cwpr_clearfix">
37
  <div class="cwpr-review-top cwpr_clearfix">
38
  <span><h2 class="cwp-item"><?php echo esc_html( $review_object->get_name() ); ?></h2></span>
39
+ <span class="cwp-item-price cwp-item">
40
+ <span><?php echo esc_html( empty( $price_raw ) ? '' : $price_raw ); ?></span>
41
+ </span>
42
  </div><!-- end .cwpr-review-top -->
43
  <div class="review-wu-content cwpr_clearfix">
44
  <div class="review-wu-left">
package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "wp-product-review",
3
- "version": "3.4.4",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
@@ -42,7 +42,7 @@
42
  "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
43
  "dev": true,
44
  "requires": {
45
- "color-convert": "1.9.1"
46
  }
47
  },
48
  "ansi-wrap": {
@@ -228,7 +228,7 @@
228
  "dev": true,
229
  "requires": {
230
  "browserslist": "1.7.7",
231
- "caniuse-db": "1.0.30000851",
232
  "normalize-range": "0.1.2",
233
  "num2fraction": "1.2.2",
234
  "postcss": "5.2.18",
@@ -411,7 +411,7 @@
411
  "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
412
  "dev": true,
413
  "requires": {
414
- "caniuse-db": "1.0.30000851",
415
  "electron-to-chromium": "1.3.48"
416
  }
417
  },
@@ -539,9 +539,9 @@
539
  }
540
  },
541
  "caniuse-db": {
542
- "version": "1.0.30000851",
543
- "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000851.tgz",
544
- "integrity": "sha1-ig08pN3nIGhWCsyYus91o1no0+M=",
545
  "dev": true
546
  },
547
  "capture-stack-trace": {
@@ -707,18 +707,18 @@
707
  "dev": true
708
  },
709
  "color-convert": {
710
- "version": "1.9.1",
711
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz",
712
- "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==",
713
  "dev": true,
714
  "requires": {
715
- "color-name": "1.1.3"
716
  }
717
  },
718
  "color-name": {
719
- "version": "1.1.3",
720
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
721
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
722
  "dev": true
723
  },
724
  "color-support": {
@@ -1282,7 +1282,7 @@
1282
  "filenamify": "1.2.1",
1283
  "got": "5.7.1",
1284
  "gulp-decompress": "1.2.0",
1285
- "gulp-rename": "1.2.3",
1286
  "is-url": "1.2.4",
1287
  "object-assign": "4.1.1",
1288
  "read-all-stream": "3.1.0",
@@ -2156,7 +2156,7 @@
2156
  "requires": {
2157
  "async": "1.5.2",
2158
  "chalk": "1.1.3",
2159
- "gulp-rename": "1.2.3",
2160
  "imagemin": "4.0.0",
2161
  "pretty-bytes": "3.0.1"
2162
  },
@@ -3348,9 +3348,9 @@
3348
  }
3349
  },
3350
  "gulp-rename": {
3351
- "version": "1.2.3",
3352
- "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-1.2.3.tgz",
3353
- "integrity": "sha512-CmdPM0BjJ105QCX1fk+j7NGhiN/1rCl9HLGss+KllBS/tdYadpjTxqdKyh/5fNV+M3yjT1MFz5z93bXdrTyzAw==",
3354
  "dev": true
3355
  },
3356
  "gulp-sourcemaps": {
1
  {
2
  "name": "wp-product-review",
3
+ "version": "3.4.5",
4
  "lockfileVersion": 1,
5
  "requires": true,
6
  "dependencies": {
42
  "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
43
  "dev": true,
44
  "requires": {
45
+ "color-convert": "1.9.2"
46
  }
47
  },
48
  "ansi-wrap": {
228
  "dev": true,
229
  "requires": {
230
  "browserslist": "1.7.7",
231
+ "caniuse-db": "1.0.30000856",
232
  "normalize-range": "0.1.2",
233
  "num2fraction": "1.2.2",
234
  "postcss": "5.2.18",
411
  "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
412
  "dev": true,
413
  "requires": {
414
+ "caniuse-db": "1.0.30000856",
415
  "electron-to-chromium": "1.3.48"
416
  }
417
  },
539
  }
540
  },
541
  "caniuse-db": {
542
+ "version": "1.0.30000856",
543
+ "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000856.tgz",
544
+ "integrity": "sha1-++u5mr4VpWVPx3R+u1MVvf3jNY8=",
545
  "dev": true
546
  },
547
  "capture-stack-trace": {
707
  "dev": true
708
  },
709
  "color-convert": {
710
+ "version": "1.9.2",
711
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz",
712
+ "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==",
713
  "dev": true,
714
  "requires": {
715
+ "color-name": "1.1.1"
716
  }
717
  },
718
  "color-name": {
719
+ "version": "1.1.1",
720
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz",
721
+ "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=",
722
  "dev": true
723
  },
724
  "color-support": {
1282
  "filenamify": "1.2.1",
1283
  "got": "5.7.1",
1284
  "gulp-decompress": "1.2.0",
1285
+ "gulp-rename": "1.3.0",
1286
  "is-url": "1.2.4",
1287
  "object-assign": "4.1.1",
1288
  "read-all-stream": "3.1.0",
2156
  "requires": {
2157
  "async": "1.5.2",
2158
  "chalk": "1.1.3",
2159
+ "gulp-rename": "1.3.0",
2160
  "imagemin": "4.0.0",
2161
  "pretty-bytes": "3.0.1"
2162
  },
3348
  }
3349
  },
3350
  "gulp-rename": {
3351
+ "version": "1.3.0",
3352
+ "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-1.3.0.tgz",
3353
+ "integrity": "sha512-nEuZB7/9i0IZ8AXORTizl2QLP9tcC9uWc/s329zElBLJw1CfOhmMXBxwVlCRKjDyrWuhVP0uBKl61KeQ32TiCg==",
3354
  "dev": true
3355
  },
3356
  "gulp-sourcemaps": {
readme.md CHANGED
@@ -67,6 +67,11 @@ If you wanna learn more about the <a href="http://www.codeinwp.com/blog/fastest-
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  ## Changelog ##
 
 
 
 
 
70
  ### 3.4.4 - 2018-06-11 ###
71
 
72
  * Fixed issue with HTML tag not being closed
@@ -484,6 +489,7 @@ Alternatively you can also follow the following steps to install the WP Product
484
 
485
 
486
 
 
487
  ### How to activate user reviews ###
488
 
489
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
@@ -626,6 +632,33 @@ https://themeisle.com/contact
626
  = How to have a whole number ratings in WP Product Review =
627
  [https://docs.themeisle.com/article/849-how-to-have-a-whole-number-ratings-in-wp-product-review](https://docs.themeisle.com/article/849-how-to-have-a-whole-number-ratings-in-wp-product-review)
628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
629
  == Upgrade Notice ==
630
 
631
  ### 3.0 ###
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  ## Changelog ##
70
+ ### 3.4.5 - 2018-06-18 ###
71
+
72
+ * Fixed problem with product price alignment on the first template
73
+
74
+
75
  ### 3.4.4 - 2018-06-11 ###
76
 
77
  * Fixed issue with HTML tag not being closed
489
 
490
 
491
 
492
+
493
  ### How to activate user reviews ###
494
 
495
  By default user reviews are disabled since not all the themes are compatible with this option due to different designs for the comment box. You can easily activate them from General Settings
632
  = How to have a whole number ratings in WP Product Review =
633
  [https://docs.themeisle.com/article/849-how-to-have-a-whole-number-ratings-in-wp-product-review](https://docs.themeisle.com/article/849-how-to-have-a-whole-number-ratings-in-wp-product-review)
634
 
635
+ = How to enable review post types =
636
+ [https://docs.themeisle.com/article/858-how-to-enable-review-post-types](https://docs.themeisle.com/article/858-how-to-enable-review-post-types)
637
+
638
+ = How users can leave review comments without rating =
639
+ [https://docs.themeisle.com/article/862-how-users-can-leave-review-comments-without-rating](https://docs.themeisle.com/article/862-how-users-can-leave-review-comments-without-rating)
640
+
641
+ = How to force description into comparision table =
642
+ [https://docs.themeisle.com/article/859-how-to-force-description-into-comparision-table](https://docs.themeisle.com/article/859-how-to-force-description-into-comparision-table)
643
+
644
+ = How the before/after/manual review box placement works =
645
+ [https://docs.themeisle.com/article/865-how-the-beforeaftermanual-review-box-placement-works](https://docs.themeisle.com/article/865-how-the-beforeaftermanual-review-box-placement-works)
646
+
647
+ = How to dynamically change the name of the review =
648
+ [https://docs.themeisle.com/article/874-how-to-dynamically-change-the-name-of-the-review](https://docs.themeisle.com/article/874-how-to-dynamically-change-the-name-of-the-review)
649
+
650
+ = How to change the status of the review =
651
+ [https://docs.themeisle.com/article/905-how-to-change-the-status-of-the-review](https://docs.themeisle.com/article/905-how-to-change-the-status-of-the-review)
652
+
653
+ = How to disable the review for particular posts =
654
+ [https://docs.themeisle.com/article/904-how-to-disable-the-review-for-particular-posts](https://docs.themeisle.com/article/904-how-to-disable-the-review-for-particular-posts)
655
+
656
+ = How to manually change the rating of a review =
657
+ [https://docs.themeisle.com/article/903-how-to-manually-change-the-rating-of-a-review](https://docs.themeisle.com/article/903-how-to-manually-change-the-rating-of-a-review)
658
+
659
+ = How to dynamically change the price of the review for particular posts =
660
+ [https://docs.themeisle.com/article/906-how-to-dynamically-change-the-price-of-the-review-for-particular-posts](https://docs.themeisle.com/article/906-how-to-dynamically-change-the-price-of-the-review-for-particular-posts)
661
+
662
  == Upgrade Notice ==
663
 
664
  ### 3.0 ###
readme.txt CHANGED
@@ -67,6 +67,11 @@ If you wanna learn more about the <a href="http://www.codeinwp.com/blog/fastest-
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
 
 
 
 
 
70
  = 3.4.4 - 2018-06-11 =
71
 
72
  * Fixed issue with HTML tag not being closed
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
70
+ = 3.4.5 - 2018-06-18 =
71
+
72
+ * Fixed problem with product price alignment on the first template
73
+
74
+
75
  = 3.4.4 - 2018-06-11 =
76
 
77
  * Fixed issue with HTML tag not being closed
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-wppr-autoloader.php":"96be4219e0b4502f5698c5a8b084d108","index.php":"c76772901fa1b2b14aa3ba32d7773c8a","uninstall.php":"7c6d36652e8dcf013f2c246f4a289acf","wp-product-review.php":"17ba104be8aa6cfbde8bbe3bbe50a462"}
1
+ {"class-wppr-autoloader.php":"96be4219e0b4502f5698c5a8b084d108","index.php":"c76772901fa1b2b14aa3ba32d7773c8a","uninstall.php":"7c6d36652e8dcf013f2c246f4a289acf","wp-product-review.php":"10bc99aa6ebf37613dc34f0b68dc0340"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6a37229a118b060fe716f2e6c407d12e::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit9eb0b4cc5b93384803e6dc6ab777b309::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit75de9c88e15e2b32e2d7e5a4b13417a2::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInita9a0a671671fcee8727da06280b9b0c2
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequirea9a0a671671fcee8727da06280b9b0c2($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequirea9a0a671671fcee8727da06280b9b0c2($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit6a37229a118b060fe716f2e6c407d12e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit6a37229a118b060fe716f2e6c407d12e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit6a37229a118b060fe716f2e6c407d12e', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire6a37229a118b060fe716f2e6c407d12e($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire6a37229a118b060fe716f2e6c407d12e($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit9eb0b4cc5b93384803e6dc6ab777b309 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9eb0b4cc5b93384803e6dc6ab777b309 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9eb0b4cc5b93384803e6dc6ab777b309', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9eb0b4cc5b93384803e6dc6ab777b309', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit75de9c88e15e2b32e2d7e5a4b13417a2 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit75de9c88e15e2b32e2d7e5a4b13417a2', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit75de9c88e15e2b32e2d7e5a4b13417a2', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
wp-product-review.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: WP Product Review Lite
16
  * Plugin URI: https://themeisle.com/plugins/wp-product-review/
17
  * Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
18
- * Version: 3.4.4
19
  * Author: ThemeIsle
20
  * Author URI: https://themeisle.com/
21
  * Requires at least: 3.5
@@ -67,7 +67,7 @@ register_deactivation_hook( __FILE__, 'deactivate_wppr' );
67
  */
68
  function run_wppr() {
69
 
70
- define( 'WPPR_LITE_VERSION', '3.4.4' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );
15
  * Plugin Name: WP Product Review Lite
16
  * Plugin URI: https://themeisle.com/plugins/wp-product-review/
17
  * Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
18
+ * Version: 3.4.5
19
  * Author: ThemeIsle
20
  * Author URI: https://themeisle.com/
21
  * Requires at least: 3.5
67
  */
68
  function run_wppr() {
69
 
70
+ define( 'WPPR_LITE_VERSION', '3.4.5' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );