Site Reviews - Version 5.21.3

Version Description

(2022-02-22) =

  • Improved rendering of ratings on the All Reviews admin page
  • Fixed compatibility for PHP v5.6 - v7.0
Download this release

Release Info

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

Code changes from version 5.21.2 to 5.21.3

plugin/Controllers/ListTableColumns/ColumnValueRating.php CHANGED
@@ -13,8 +13,8 @@ class ColumnValueRating implements ColumnValueContract
13
  */
14
  public function handle(Review $review)
15
  {
16
- return glsr(Partial::class)->build('star-rating', [
17
- 'prefix' => '',
18
  'rating' => $review->rating,
19
  ]);
20
  }
13
  */
14
  public function handle(Review $review)
15
  {
16
+ return wp_star_rating([
17
+ 'echo' => false,
18
  'rating' => $review->rating,
19
  ]);
20
  }
plugin/Integrations/GamiPress/Controller.php CHANGED
@@ -8,8 +8,8 @@ use GeminiLabs\SiteReviews\Review;
8
 
9
  class Controller extends BaseController
10
  {
11
- public const TRIGGER_GET = 'site_reviews_gamipress/received/user';
12
- public const TRIGGER_WRITE = 'site_reviews_gamipress/reviewed/any';
13
 
14
  /**
15
  * @param string $label
8
 
9
  class Controller extends BaseController
10
  {
11
+ const TRIGGER_GET = 'site_reviews_gamipress/received/user';
12
+ const TRIGGER_WRITE = 'site_reviews_gamipress/reviewed/any';
13
 
14
  /**
15
  * @param string $label
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, woocommerce, product reviews, business rev
5
  Tested up to: 5.9
6
  Requires at least: 5.5
7
  Requires PHP: 5.6.20
8
- Stable tag: 5.21.2
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -19,7 +19,7 @@ You can pin your best reviews so that they are always shown first, require appro
19
 
20
  __Site Reviews integrates with Woocommerce__ with the free [Woocommerce Reviews](https://niftyplugins.com/plugins/woocommerce-reviews/) add-on.
21
 
22
- [View the demo](https://demo.site-reviews.com)
23
 
24
  [Follow plugin development on Github.](https://github.com/pryley/site-reviews/)
25
 
@@ -142,6 +142,11 @@ All documentation can be found in the "Help" page of the plugin. If your questio
142
 
143
  ## Changelog
144
 
 
 
 
 
 
145
  = 5.21.2 (2022-02-19) =
146
 
147
  - Fixed add-on license validation when plugins required by the add-on are not installed or inactive
5
  Tested up to: 5.9
6
  Requires at least: 5.5
7
  Requires PHP: 5.6.20
8
+ Stable tag: 5.21.3
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
19
 
20
  __Site Reviews integrates with Woocommerce__ with the free [Woocommerce Reviews](https://niftyplugins.com/plugins/woocommerce-reviews/) add-on.
21
 
22
+ [View the demo](https://site-reviews.skybox.one)
23
 
24
  [Follow plugin development on Github.](https://github.com/pryley/site-reviews/)
25
 
142
 
143
  ## Changelog
144
 
145
+ = 5.21.3 (2022-02-22) =
146
+
147
+ - Improved rendering of ratings on the All Reviews admin page
148
+ - Fixed compatibility for PHP v5.6 - v7.0
149
+
150
  = 5.21.2 (2022-02-19) =
151
 
152
  - Fixed add-on license validation when plugins required by the add-on are not installed or inactive
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.21.2
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.21.3
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2