Site Reviews - Version 5.11.1

Version Description

(2021-06-03) =

  • Fixed pagination
Download this release

Release Info

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

Code changes from version 5.11.0 to 5.11.1

plugin/Database/NormalizePaginationArgs.php CHANGED
@@ -16,9 +16,7 @@ class NormalizePaginationArgs extends Arguments
16
  public function __construct(array $args = [])
17
  {
18
  parent::__construct($args);
19
- if (empty($this->page)) {
20
- $this->normalizePage();
21
- }
22
  $this->normalizePageUrl();
23
  $this->normalizePageUrlParameters();
24
  }
@@ -33,7 +31,7 @@ class NormalizePaginationArgs extends Arguments
33
  $page = $args->get('page', 0);
34
  $this->page = $page
35
  ? $page
36
- : Helper::getPageNumber($args->url);
37
  }
38
 
39
  /**
16
  public function __construct(array $args = [])
17
  {
18
  parent::__construct($args);
19
+ $this->normalizePage();
 
 
20
  $this->normalizePageUrl();
21
  $this->normalizePageUrlParameters();
22
  }
31
  $page = $args->get('page', 0);
32
  $this->page = $page
33
  ? $page
34
+ : Helper::getPageNumber($args->url, $this->page);
35
  }
36
 
37
  /**
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.11.0
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -137,7 +137,11 @@ All documentation can be found in the "Help" page of the plugin. If your questio
137
 
138
  ## Changelog
139
 
140
- = 5.11.0 (2021-06-01) =
 
 
 
 
141
 
142
  - Added a REST API (see the provided documentation to learn how to use it)
143
  - Added custom capabilities for responding to reviews (`respond_to_site-review` and `respond_to_others_site-review`)
5
  Tested up to: 5.7
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.11.1
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
137
 
138
  ## Changelog
139
 
140
+ = 5.11.1 (2021-06-03) =
141
+
142
+ - Fixed pagination
143
+
144
+ = 5.11.0 (2021-06-02) =
145
 
146
  - Added a REST API (see the provided documentation to learn how to use it)
147
  - Added custom capabilities for responding to reviews (`respond_to_site-review` and `respond_to_others_site-review`)
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.11.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.11.1
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
views/pages/welcome/whatsnew/v511.php CHANGED
@@ -6,7 +6,7 @@
6
  </button>
7
  </h3>
8
  <div id="welcome-v5_11_0" class="inside">
9
- <p><em>Initial Release Date &mdash; June 1st, 2021</em></p>
10
  <h4>✨ New Features</h4>
11
  <ul>
12
  <li>Added a REST API (see the <a data-expand="#fn-glsr_update_review" href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-api'); ?>">provided documentation</a> to learn how to use it)</li>
6
  </button>
7
  </h3>
8
  <div id="welcome-v5_11_0" class="inside">
9
+ <p><em>Initial Release Date &mdash; June 2nd, 2021</em></p>
10
  <h4>✨ New Features</h4>
11
  <ul>
12
  <li>Added a REST API (see the <a data-expand="#fn-glsr_update_review" href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-api'); ?>">provided documentation</a> to learn how to use it)</li>