Site Reviews - Version 5.5.1

Version Description

(2021-01-26) =

  • Added the missing "What's New" sections
Download this release

Release Info

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

Code changes from version 5.5.0 to 5.5.1

readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, business reviews, product reviews, stars,
5
  Tested up to: 5.6
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 5.5.0
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -131,9 +131,13 @@ All documentation can be found in the "Help" page of the plugin. If your questio
131
 
132
  ## Changelog
133
 
 
 
 
 
134
  = 5.5.0 (2021-01-26) =
135
 
136
- - Added "data-field" attributes to form fields; this should make it easier to build custom CSS layouts
137
  - Added "date", "user__in", and "user__not_in" parameters to the glsr_get_reviews() function
138
  - Added glsr_trace() helper function
139
  - Added plugin style for the "Twenty Twenty-One" theme
5
  Tested up to: 5.6
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.5.1
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
131
 
132
  ## Changelog
133
 
134
+ = 5.5.1 (2021-01-26) =
135
+
136
+ - Added the missing "What's New" sections
137
+
138
  = 5.5.0 (2021-01-26) =
139
 
140
+ - Added "data-field" attribute to form fields; this should make it easier to build custom CSS layouts
141
  - Added "date", "user__in", and "user__not_in" parameters to the glsr_get_reviews() function
142
  - Added glsr_trace() helper function
143
  - Added plugin style for the "Twenty Twenty-One" theme
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.5.0
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.5.1
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
views/pages/welcome/whatsnew.php CHANGED
@@ -4,6 +4,9 @@
4
  <div class="is-fullwidth">
5
  <div class="glsr-flex-row">
6
  <div class="glsr-column">
 
 
 
7
  <?php include trailingslashit(__DIR__).'whatsnew/v52.php'; ?>
8
  <?php include trailingslashit(__DIR__).'whatsnew/v51.php'; ?>
9
  <?php include trailingslashit(__DIR__).'whatsnew/v50.php'; ?>
4
  <div class="is-fullwidth">
5
  <div class="glsr-flex-row">
6
  <div class="glsr-column">
7
+ <?php include trailingslashit(__DIR__).'whatsnew/v55.php'; ?>
8
+ <?php include trailingslashit(__DIR__).'whatsnew/v54.php'; ?>
9
+ <?php include trailingslashit(__DIR__).'whatsnew/v53.php'; ?>
10
  <?php include trailingslashit(__DIR__).'whatsnew/v52.php'; ?>
11
  <?php include trailingslashit(__DIR__).'whatsnew/v51.php'; ?>
12
  <?php include trailingslashit(__DIR__).'whatsnew/v50.php'; ?>
views/pages/welcome/whatsnew/v52.php CHANGED
@@ -1,6 +1,6 @@
1
- <div class="glsr-card postbox is-fullwidth open">
2
  <h3 class="glsr-card-heading">
3
- <button type="button" class="glsr-accordion-trigger" aria-expanded="true" aria-controls="welcome-v520">
4
  <span class="title">Version 5.2</span>
5
  <span class="icon"></span>
6
  </button>
@@ -31,7 +31,7 @@
31
  <li>Fixed review migration of invalid 3rd-party reviews (reviews that were previously imported incorrectly)</li>
32
  <li>Fixed review name and email fallback values to use those of the logged-in user</li>
33
  <li>Fixed strict standard notices in PHP 5.6</li>
34
- <li>Fixed the glsr_create_review helper function validation</li>
35
  <li>Fixed the submission date of reviews, it now uses the timezone offset in the WordPress settings</li>
36
  </ul>
37
  </div>
1
+ <div class="glsr-card postbox is-fullwidth">
2
  <h3 class="glsr-card-heading">
3
+ <button type="button" class="glsr-accordion-trigger" aria-expanded="false" aria-controls="welcome-v520">
4
  <span class="title">Version 5.2</span>
5
  <span class="icon"></span>
6
  </button>
31
  <li>Fixed review migration of invalid 3rd-party reviews (reviews that were previously imported incorrectly)</li>
32
  <li>Fixed review name and email fallback values to use those of the logged-in user</li>
33
  <li>Fixed strict standard notices in PHP 5.6</li>
34
+ <li>Fixed the <code>glsr_create_review</code> helper function validation</li>
35
  <li>Fixed the submission date of reviews, it now uses the timezone offset in the WordPress settings</li>
36
  </ul>
37
  </div>
views/pages/welcome/whatsnew/v53.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="glsr-card postbox is-fullwidth">
2
+ <h3 class="glsr-card-heading">
3
+ <button type="button" class="glsr-accordion-trigger" aria-expanded="false" aria-controls="welcome-v530">
4
+ <span class="title">Version 5.3</span>
5
+ <span class="icon"></span>
6
+ </button>
7
+ </h3>
8
+ <div id="welcome-v530" class="inside">
9
+ <p><em>Initial Release Date &mdash; December 13th, 2020</em></p>
10
+ <h4>✨ New Features</h4>
11
+ <ul>
12
+ <li>Added "Site Reviews Premium"</li>
13
+ <li>Added "Review Forms" add-on</li>
14
+ <li>Added debug logging for validation errors</li>
15
+ <li>Added error logging for database table creation errors</li>
16
+ <li>Added support for PHP 8</li>
17
+ <li>Added the Category and Review IDs to the action row in the admin tables</li>
18
+ <li>Added the <code>{{ assigned_posts }}</code>, <code>{{ assigned_users }}</code>, and <code>{{ assigned_terms }}</code> template tags</li>
19
+ </ul>
20
+ <h4>🐞 Bugs Fixed</h4>
21
+ <ul>
22
+ <li>Fixed block attributes</li>
23
+ <li>Fixed line-breaks in review excerpts</li>
24
+ <li>Fixed MariaDB support (removed subqueries from the SQL)</li>
25
+ <li>Fixed migration of imported settings</li>
26
+ <li>Fixed pagination URLs for servers that do not use REQUEST_URI</li>
27
+ <li>Fixed shortcode examples in documentation; Copy/pasting a shortcode example into the classic editor will now paste as plain text instead of as HTML code.</li>
28
+ <li>Fixed support for older custom fields using <code>assign_to</code> or <code>category</code> as names</li>
29
+ <li>Fixed System Info details to always be in English</li>
30
+ <li>Fixed the <code>post__in</code> and <code>post__not_in</code> options of the glsr_get_reviews() helper function</li>
31
+ <li>Fixed the Backtrace used when logging entries to the Console</li>
32
+ <li>Fixed the Console on sites that have been duplicated but still have the upload dir cached to the old path
33
+ <li>Fixed the PHP multibyte fallback when the iconv extension is missing</li>
34
+ </ul>
35
+ </div>
36
+ </div>
views/pages/welcome/whatsnew/v54.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="glsr-card postbox is-fullwidth">
2
+ <h3 class="glsr-card-heading">
3
+ <button type="button" class="glsr-accordion-trigger" aria-expanded="false" aria-controls="welcome-v540">
4
+ <span class="title">Version 5.4</span>
5
+ <span class="icon"></span>
6
+ </button>
7
+ </h3>
8
+ <div id="welcome-v540" class="inside">
9
+ <p><em>Initial Release Date &mdash; December 22nd, 2020</em></p>
10
+ <h4>✨ New Features</h4>
11
+ <ul>
12
+ <li>Added the <code>schema_identifier</code> meta key which can be used to set a custom <code>@id</code> schema property with the Custom Fields metabox</li>
13
+ <li>Added the "Woocommerce Reviews" add-on</li>
14
+ </ul>
15
+ <h4>🐞 Bugs Fixed</h4>
16
+ <ul>
17
+ <li>Fixed a PHP 8 error with the schema</li>
18
+ <li>Fixed add-on updater</li>
19
+ <li>Fixed pagination to use the saved "hide" options</li>
20
+ <li>Fixed setting fields to use escaped HTML attributes</li>
21
+ <li>Fixed template tag substitution in custom review templates</li>
22
+ <li>Fixed the import tool, it no longer substitutes empty review name/email fields with those of the logged in user</li>
23
+ </ul>
24
+ </div>
25
+ </div>
views/pages/welcome/whatsnew/v55.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="glsr-card postbox is-fullwidth open">
2
+ <h3 class="glsr-card-heading">
3
+ <button type="button" class="glsr-accordion-trigger" aria-expanded="true" aria-controls="welcome-v550">
4
+ <span class="title">Version 5.5</span>
5
+ <span class="icon"></span>
6
+ </button>
7
+ </h3>
8
+ <div id="welcome-v550" class="inside">
9
+ <p><em>Initial Release Date &mdash; January 26th, 2021</em></p>
10
+ <h4>✨ New Features</h4>
11
+ <ul>
12
+ <li>Added <code>data-field</code> attribute to form fields; this should make it easier to build custom CSS layouts</li>
13
+ <li>Added <code>date</code>, <code>user__in</code>, and <code>user__not_in</code> parameters to the <code>glsr_get_reviews()</code> function</li>
14
+ <li>Added <code>glsr_trace()</code> helper function</li>
15
+ <li>Added plugin style for the "Twenty Twenty-One" theme</li>
16
+ <li>Added "Restrict Limits To" setting which allows you to choose which assignments are used in the review limits.</li>
17
+ <li>Added sub-sections for add-on settings</li>
18
+ </ul>
19
+ <h4>📢 Changes</h4>
20
+ <ul>
21
+ <li>Changed the <code>site-reviews/review/build/&lt;tag&gt;</code> hooks to <code>site-reviews/review/build/tag/&lt;tag&gt;</code></li>
22
+ <li>Upgraded the <a href="https://github.com/pryley/star-rating.js" target="_blank">star-ratings.js</a> library to v4 in preparation for the "Review Themes" add-on</li>
23
+ </ul>
24
+ <h4>🐞 Bugs Fixed</h4>
25
+ <ul>
26
+ <li>Fixed Add-on support notice</li>
27
+ <li>Fixed CSV importing when header values contain trailing spaces</li>
28
+ <li>Fixed email and IP address review limits to include all reviews (not just approved reviews)</li>
29
+ <li>Fixed line breaks in excerpts</li>
30
+ <li>Fixed links in review responses to allow the "rel" attribute</li>
31
+ <li>Fixed Migration support for PHP 8.0 Named Arguments</li>
32
+ </ul>
33
+ </div>
34
+ </div>