Site Reviews - Version 5.8.4

Version Description

(2021-04-15) =

  • Fixed a potential problem introduced by the previous widget compatibility fix
Download this release

Release Info

Developer geminilabs
Plugin Icon 128x128 Site Reviews
Version 5.8.4
Comparing to
See all releases

Code changes from version 5.8.3 to 5.8.4

plugin/Commands/RegisterWidgets.php CHANGED
@@ -18,12 +18,12 @@ class RegisterWidgets implements Contract
18
  }
19
  $iterator = new \DirectoryIterator($dir);
20
  foreach ($iterator as $fileinfo) {
21
- if (!$fileinfo->isFile()) {
22
  continue;
23
  }
24
  $className = str_replace('.php', '', $fileinfo->getFilename());
25
  $widgetClass = Helper::buildClassName($className, 'Widgets');
26
- if (!(new \ReflectionClass($widgetClass))->isAbstract()) {
27
  register_widget($widgetClass);
28
  }
29
  }
18
  }
19
  $iterator = new \DirectoryIterator($dir);
20
  foreach ($iterator as $fileinfo) {
21
+ if ('file' !== $fileinfo->getType()) {
22
  continue;
23
  }
24
  $className = str_replace('.php', '', $fileinfo->getFilename());
25
  $widgetClass = Helper::buildClassName($className, 'Widgets');
26
+ if (class_exists($widgetClass) && !(new \ReflectionClass($widgetClass))->isAbstract()) {
27
  register_widget($widgetClass);
28
  }
29
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, woocommerce, product reviews
5
  Tested up to: 5.7
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 5.8.3
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -133,6 +133,10 @@ All documentation can be found in the "Help" page of the plugin. If your questio
133
 
134
  ## Changelog
135
 
 
 
 
 
136
  = 5.8.3 (2021-04-12) =
137
 
138
  - Fixed widget compatibility with page builder plugins
5
  Tested up to: 5.7
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.8.4
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
133
 
134
  ## Changelog
135
 
136
+ = 5.8.4 (2021-04-15) =
137
+
138
+ - Fixed a potential problem introduced by the previous widget compatibility fix
139
+
140
  = 5.8.3 (2021-04-12) =
141
 
142
  - Fixed widget compatibility with page builder plugins
site-reviews.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin Name: Site Reviews
8
  * Plugin URI: https://wordpress.org/plugins/site-reviews
9
  * Description: Receive and display reviews on your website
10
- * Version: 5.8.3
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
7
  * Plugin Name: Site Reviews
8
  * Plugin URI: https://wordpress.org/plugins/site-reviews
9
  * Description: Receive and display reviews on your website
10
+ * Version: 5.8.4
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2