Site Reviews - Version 5.4.3

Version Description

(2021-01-16) =

  • Fixed Add-on support notice
  • Fixed Migration support for PHP 8.0 Named Arguments
Download this release

Release Info

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

Code changes from version 5.4.2 to 5.4.3

languages/site-reviews-en_US.po CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2020 site-reviews
2
  # This file is distributed under the same license as the site-reviews package.
3
  msgid ""
4
  msgstr ""
1
+ # Copyright (C) 2021 site-reviews
2
  # This file is distributed under the same license as the site-reviews package.
3
  msgid ""
4
  msgstr ""
languages/site-reviews.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2020 site-reviews
2
  # This file is distributed under the same license as the site-reviews package.
3
  msgid ""
4
  msgstr ""
1
+ # Copyright (C) 2021 site-reviews
2
  # This file is distributed under the same license as the site-reviews package.
3
  msgid ""
4
  msgstr ""
plugin/Modules/Migrations/Migrate_5_0_0/MigrateSidebars.php CHANGED
@@ -181,7 +181,8 @@ class MigrateSidebars
181
  */
182
  protected function widgetsExist(array $sidebars)
183
  {
184
- $widgets = call_user_func_array('array_merge', array_filter($sidebars, 'is_array'));
 
185
  foreach ($widgets as $widget) {
186
  if (Str::startsWith(glsr()->id.'_', $widget)) {
187
  return true;
181
  */
182
  protected function widgetsExist(array $sidebars)
183
  {
184
+ $sidebars = array_filter($sidebars, 'is_array');
185
+ $widgets = call_user_func_array('array_merge', array_values($sidebars));
186
  foreach ($widgets as $widget) {
187
  if (Str::startsWith(glsr()->id.'_', $widget)) {
188
  return true;
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.4.2
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -113,6 +113,11 @@ All documentation can be found in the "Help" page of the plugin. If your questio
113
 
114
  == Changelog ==
115
 
 
 
 
 
 
116
  = 5.4.2 (2020-12-26) =
117
 
118
  - Fixed line breaks in excerpts
5
  Tested up to: 5.6
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.4.3
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
113
 
114
  == Changelog ==
115
 
116
+ = 5.4.3 (2021-01-16) =
117
+
118
+ - Fixed Add-on support notice
119
+ - Fixed Migration support for PHP 8.0 Named Arguments
120
+
121
  = 5.4.2 (2020-12-26) =
122
 
123
  - Fixed line breaks in excerpts
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.4.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.4.3
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
views/partials/addons/support-notice.php CHANGED
@@ -3,7 +3,7 @@
3
  <div class="components-notice is-info">
4
  <p class="components-notice__content">
5
  <?= sprintf(_x('To receive support for this add-on, please %s to your Nifty Plugins account.', 'admin-text', 'site-reviews'),
6
- sprintf('<a href="https://niftyplugins.com/account/" target="_blank">%s</a>', _x('login', 'admin-text', 'site-reviews')),
7
  ); ?>
8
  </p>
9
  </div>
3
  <div class="components-notice is-info">
4
  <p class="components-notice__content">
5
  <?= sprintf(_x('To receive support for this add-on, please %s to your Nifty Plugins account.', 'admin-text', 'site-reviews'),
6
+ sprintf('<a href="https://niftyplugins.com/account/" target="_blank">%s</a>', _x('login', 'admin-text', 'site-reviews'))
7
  ); ?>
8
  </p>
9
  </div>