WP Product Review Lite - Version 3.0.11

Version Description

  • 2017-09-15
Download this release

Release Info

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

Code changes from version 3.0.10 to 3.0.11

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v3.0.10 - 2017-09-12
3
  **Changes:**
4
  * Fix for decimal separator in rich snippet.
1
 
2
+ ### v3.0.11 - 2017-09-15
3
+ **Changes:**
4
+ * Fix for issue of hidden review box and widget area.
5
+
6
  ### v3.0.10 - 2017-09-12
7
  **Changes:**
8
  * Fix for decimal separator in rich snippet.
assets/css/frontpage.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.0.10
3
  */
4
  #review-statistics {
5
  width: 100%;
1
  /*
2
+ Version: 3.0.11
3
  */
4
  #review-statistics {
5
  width: 100%;
includes/class-wppr-template.php CHANGED
@@ -57,12 +57,19 @@ class WPPR_Template {
57
  }
58
  $$name = $value;
59
  }
 
 
 
 
 
 
 
 
 
 
60
 
61
- ob_start();
62
- require_once( $location );
63
- $content = ob_get_contents();
64
-
65
- ob_end_clean();
66
  if ( ! $echo ) {
67
  return $content;
68
  }
57
  }
58
  $$name = $value;
59
  }
60
+ /**
61
+ * Store the view output in cache based on the args it needs.
62
+ */
63
+ $cache_key = md5( $location . serialize( $args ) );
64
+ $content = wp_cache_get( $cache_key, 'wppr' );
65
+ if ( empty( $content ) ) {
66
+ ob_start();
67
+ require_once( $location );
68
+ $content = ob_get_contents();
69
+ ob_end_clean();
70
 
71
+ wp_cache_set( $cache_key, $content, 'wppr', 5 * 60 );
72
+ }
 
 
 
73
  if ( ! $echo ) {
74
  return $content;
75
  }
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.0.10';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
+ $this->version = '3.0.11';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
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.0.10 - 2017-09-12 =
71
 
72
  * Fix for decimal separator in rich snippet.
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
70
+ = 3.0.11 - 2017-09-15 =
71
+
72
+ * Fix for issue of hidden review box and widget area.
73
+
74
+
75
  = 3.0.10 - 2017-09-12 =
76
 
77
  * Fix for decimal separator in rich snippet.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit173d3ae0c0ab4e902430fb6b1c141460::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit7c67ef5a72e9defc21b0727f04bb3495::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInite77b0b43364bad8541d98f43f8af28f9::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitf59e4ef4fe9fdac27d56952dd9c6404c
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequiref59e4ef4fe9fdac27d56952dd9c6404c($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequiref59e4ef4fe9fdac27d56952dd9c6404c($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 ComposerAutoloaderInit173d3ae0c0ab4e902430fb6b1c141460
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit173d3ae0c0ab4e902430fb6b1c141460', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit173d3ae0c0ab4e902430fb6b1c141460', '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
+ composerRequire173d3ae0c0ab4e902430fb6b1c141460($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire173d3ae0c0ab4e902430fb6b1c141460($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 ComposerAutoloaderInit7c67ef5a72e9defc21b0727f04bb3495 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit7c67ef5a72e9defc21b0727f04bb3495 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit7c67ef5a72e9defc21b0727f04bb3495', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit7c67ef5a72e9defc21b0727f04bb3495', '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 ComposerAutoloaderInite77b0b43364bad8541d98f43f8af28f9 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInite77b0b43364bad8541d98f43f8af28f9', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInite77b0b43364bad8541d98f43f8af28f9', '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.0.10
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.0.10' );
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.0.11
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.0.11' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );