Real Testimonials - Version 2.2.18

Version Description

  • Aug 18, 2021 =
  • Fix: Schema markup undefine issue.
Download this release

Release Info

Developer shapedplugin
Plugin Icon 128x128 Real Testimonials
Version 2.2.18
Comparing to
See all releases

Code changes from version 2.2.17 to 2.2.18

public/views/shortcoderender.php CHANGED
@@ -210,9 +210,9 @@ if ( ! class_exists( 'TFREE_Shortcode_Render' ) ) {
210
  $preloader = isset( $shortcode_data['preloader'] ) ? $shortcode_data['preloader'] : false;
211
  // Schema markup.
212
  if ( isset( $shortcode_data['schema_markup'] ) ) {
213
- $schema_markup = $shortcode_data['schema_markup'];
214
  } else {
215
- $schema_markup = isset( $setting_options['spt_enable_schema'] ) ? $setting_options['spt_enable_schema'] : false;
216
  }
217
 
218
  // Enqueue Script.
@@ -346,7 +346,7 @@ if ( ! class_exists( 'TFREE_Shortcode_Render' ) ) {
346
  $aggregate_rating = round( ( $total_rating_count / $total_rated_testimonials ), 2 );
347
  }
348
  $outline .= '</div>';
349
- if ( $schema_markup ) {
350
  include SP_TFREE_PATH . '/public/views/schema.php';
351
  }
352
  $outline .= '</div>';
210
  $preloader = isset( $shortcode_data['preloader'] ) ? $shortcode_data['preloader'] : false;
211
  // Schema markup.
212
  if ( isset( $shortcode_data['schema_markup'] ) ) {
213
+ $show_schema_markup = $shortcode_data['schema_markup'];
214
  } else {
215
+ $show_schema_markup = isset( $setting_options['spt_enable_schema'] ) ? $setting_options['spt_enable_schema'] : false;
216
  }
217
 
218
  // Enqueue Script.
346
  $aggregate_rating = round( ( $total_rating_count / $total_rated_testimonials ), 2 );
347
  }
348
  $outline .= '</div>';
349
+ if ( $show_schema_markup && $total_rated_testimonials !== 0 ) {
350
  include SP_TFREE_PATH . '/public/views/schema.php';
351
  }
352
  $outline .= '</div>';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shapedplugin.com/donate
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews
5
  Requires at least: 4.0
6
  Tested up to: 5.8
7
- Stable tag: 2.2.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -194,6 +194,9 @@ Thank you!
194
 
195
  == Changelog ==
196
 
 
 
 
197
  = 2.2.17 - Aug 11, 2021 =
198
  * Fix: Rating value undefine issue.
199
 
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews
5
  Requires at least: 4.0
6
  Tested up to: 5.8
7
+ Stable tag: 2.2.18
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
194
 
195
  == Changelog ==
196
 
197
+ = 2.2.18 - Aug 18, 2021 =
198
+ * Fix: Schema markup undefine issue.
199
+
200
  = 2.2.17 - Aug 11, 2021 =
201
  * Fix: Rating value undefine issue.
202
 
testimonial-free.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Testimonial
13
  * Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
- * Version: 2.2.17
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
@@ -59,7 +59,7 @@ if ( ! class_exists( 'SP_Testimonial_FREE' ) ) {
59
  *
60
  * @var string
61
  */
62
- public $version = '2.2.17';
63
 
64
  /**
65
  * @var SP_TFREE_Testimonial $shortcode
12
  * Plugin Name: Testimonial
13
  * Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
+ * Version: 2.2.18
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
59
  *
60
  * @var string
61
  */
62
+ public $version = '2.2.18';
63
 
64
  /**
65
  * @var SP_TFREE_Testimonial $shortcode