Version Description
(2021-05-03) =
- Fixed date validation in the "Import Third Party Reviews" tool
Download this release
Release Info
Developer | geminilabs |
Plugin | Site Reviews |
Version | 5.10.4 |
Comparing to | |
See all releases |
Code changes from version 5.10.3 to 5.10.4
- plugin/Commands/ImportReviews.php +1 -1
- readme.txt +5 -1
- site-reviews.php +1 -1
plugin/Commands/ImportReviews.php
CHANGED
@@ -156,7 +156,7 @@ class ImportReviews extends Upload implements Contract
|
|
156 |
protected function validateRecord(array $record)
|
157 |
{
|
158 |
$required = [
|
159 |
-
'date' => glsr(Date::class)->
|
160 |
'content' => !empty($record['content']),
|
161 |
'rating' => glsr(Rating::class)->isValid(Arr::get($record, 'rating')),
|
162 |
];
|
156 |
protected function validateRecord(array $record)
|
157 |
{
|
158 |
$required = [
|
159 |
+
'date' => glsr(Date::class)->isDate(Arr::get($record, 'date'), $this->date_format),
|
160 |
'content' => !empty($record['content']),
|
161 |
'rating' => glsr(Rating::class)->isValid(Arr::get($record, 'rating')),
|
162 |
];
|
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.10.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -135,6 +135,10 @@ All documentation can be found in the "Help" page of the plugin. If your questio
|
|
135 |
|
136 |
## Changelog
|
137 |
|
|
|
|
|
|
|
|
|
138 |
= 5.10.3 (2021-04-28) =
|
139 |
|
140 |
- Fixed the assigned_posts meta keys which store the average rating, ranking, and review count
|
5 |
Tested up to: 5.7
|
6 |
Requires at least: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 5.10.4
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
135 |
|
136 |
## Changelog
|
137 |
|
138 |
+
= 5.10.4 (2021-05-03) =
|
139 |
+
|
140 |
+
- Fixed date validation in the "Import Third Party Reviews" tool
|
141 |
+
|
142 |
= 5.10.3 (2021-04-28) =
|
143 |
|
144 |
- Fixed the assigned_posts meta keys which store the average rating, ranking, and review count
|
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.10.
|
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.10.4
|
11 |
* Author: Paul Ryley
|
12 |
* Author URI: https://geminilabs.io
|
13 |
* License: GPL2
|