Site Reviews - Version 5.3.5

Version Description

(2020-12-16) =

  • Fixed template tag substitution in custom review templates
Download this release

Release Info

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

Code changes from version 5.3.4 to 5.3.5

Files changed (3) hide show
  1. deprecated.php +2 -2
  2. readme.txt +5 -1
  3. site-reviews.php +1 -1
deprecated.php CHANGED
@@ -12,7 +12,7 @@ defined('ABSPATH') || die;
12
  * @return string
13
  * @since 5.0
14
  */
15
- add_filter('site-reviews/rendered/template/review', function ($template) {
16
  return str_replace('{{ assigned_to }}', '{{ assigned_links }}', $template);
17
  });
18
 
@@ -22,7 +22,7 @@ add_filter('site-reviews/rendered/template/review', function ($template) {
22
  * @return string
23
  * @since 5.3
24
  */
25
- add_filter('site-reviews/rendered/template/review', function ($template) {
26
  return str_replace('id="{{ review_id }}"', 'id="review-{{ review_id }}"', $template);
27
  });
28
 
12
  * @return string
13
  * @since 5.0
14
  */
15
+ add_filter('site-reviews/build/template/review', function ($template) {
16
  return str_replace('{{ assigned_to }}', '{{ assigned_links }}', $template);
17
  });
18
 
22
  * @return string
23
  * @since 5.3
24
  */
25
+ add_filter('site-reviews/build/template/review', function ($template) {
26
  return str_replace('id="{{ review_id }}"', 'id="review-{{ review_id }}"', $template);
27
  });
28
 
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.3.4
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -113,6 +113,10 @@ All documentation can be found in the "Help" page of the plugin. If your questio
113
 
114
  == Changelog ==
115
 
 
 
 
 
116
  = 5.3.4 (2020-12-16) =
117
 
118
  - Fixed pagination to use the saved "hide" options
5
  Tested up to: 5.6
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.3.5
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
113
 
114
  == Changelog ==
115
 
116
+ = 5.3.5 (2020-12-16) =
117
+
118
+ - Fixed template tag substitution in custom review templates
119
+
120
  = 5.3.4 (2020-12-16) =
121
 
122
  - Fixed pagination to use the saved "hide" options
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.3.4
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.3.5
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2