WP Product Review Lite - Version 3.0.3

Version Description

  • 2017-08-24
Download this release

Release Info

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

Code changes from version 3.0.2 to 3.0.3

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v3.0.2 - 2017-08-24
3
  **Changes:**
4
  * Fixed fatal error with is_active method.
1
 
2
+ ### v3.0.3 - 2017-08-24
3
+ **Changes:**
4
+ * Fixed widget assets loading error.
5
+
6
  ### v3.0.2 - 2017-08-24
7
  **Changes:**
8
  * Fixed fatal error with is_active method.
assets/css/frontpage.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 3.0.2
3
  */
4
  #review-statistics {
5
  width: 100%;
1
  /*
2
+ Version: 3.0.3
3
  */
4
  #review-statistics {
5
  width: 100%;
includes/admin/widgets/class-wppr-latest-products-widget.php CHANGED
@@ -52,8 +52,6 @@ class WPPR_Latest_Products_Widget extends WPPR_Widget_Abstract {
52
  * @return mixed
53
  */
54
  public function widget( $args, $instance ) {
55
- $this->assets();
56
-
57
  $instance = parent::widget( $args, $instance );
58
 
59
  $reviews = new WPPR_Query_Model();
@@ -69,7 +67,6 @@ class WPPR_Latest_Products_Widget extends WPPR_Widget_Abstract {
69
  $first = reset( $results );
70
  $first = isset( $first['ID'] ) ? $first['ID'] : 0;
71
  $review = new WPPR_Review_Model( $first );
72
-
73
  $this->assets( $review );
74
  }
75
  // before and after widget arguments are defined by themes
52
  * @return mixed
53
  */
54
  public function widget( $args, $instance ) {
 
 
55
  $instance = parent::widget( $args, $instance );
56
 
57
  $reviews = new WPPR_Query_Model();
67
  $first = reset( $results );
68
  $first = isset( $first['ID'] ) ? $first['ID'] : 0;
69
  $review = new WPPR_Review_Model( $first );
 
70
  $this->assets( $review );
71
  }
72
  // before and after widget arguments are defined by themes
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.2';
71
 
72
  $this->load_dependencies();
73
  $this->set_locale();
67
  */
68
  public function __construct() {
69
  $this->plugin_name = 'wppr';
70
+ $this->version = '3.0.3';
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.2 - 2017-08-24 =
71
 
72
  * Fixed fatal error with is_active method.
67
  * fr_FR translation by Jacques Soule of http://wordpress-pour-vous.com/
68
 
69
  == Changelog ==
70
+ = 3.0.3 - 2017-08-24 =
71
+
72
+ * Fixed widget assets loading error.
73
+
74
+
75
  = 3.0.2 - 2017-08-24 =
76
 
77
  * Fixed fatal error with is_active method.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit263e60cf1b67c8c1b6a71909fbdba015::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitb2a7c3d6798cbe15aaa8346ad44aa415::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit5743ef8947d850ef37d3a3885096af06::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitc22c4ded80f60354ba9b7b9e965c89c8
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequirec22c4ded80f60354ba9b7b9e965c89c8($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequirec22c4ded80f60354ba9b7b9e965c89c8($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 ComposerAutoloaderInit263e60cf1b67c8c1b6a71909fbdba015
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit263e60cf1b67c8c1b6a71909fbdba015', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit263e60cf1b67c8c1b6a71909fbdba015', '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
+ composerRequire263e60cf1b67c8c1b6a71909fbdba015($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire263e60cf1b67c8c1b6a71909fbdba015($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 ComposerAutoloaderInitb2a7c3d6798cbe15aaa8346ad44aa415 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitb2a7c3d6798cbe15aaa8346ad44aa415 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb2a7c3d6798cbe15aaa8346ad44aa415', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb2a7c3d6798cbe15aaa8346ad44aa415', '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 ComposerAutoloaderInit5743ef8947d850ef37d3a3885096af06 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit5743ef8947d850ef37d3a3885096af06', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit5743ef8947d850ef37d3a3885096af06', '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.2
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.2' );
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.3
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.3' );
71
  define( 'WPPR_PATH', dirname( __FILE__ ) );
72
  define( 'WPPR_SLUG', 'wppr' );
73
  define( 'WPPR_UPSELL_LINK', 'https://themeisle.com/plugins/wp-product-review/' );