Real Testimonials - Version 2.2.1

Version Description

  • May 02, 2020 =
  • Fix: Undefined variable notices issue.
Download this release

Release Info

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

Code changes from version 2.2 to 2.2.1

public/views/schema.php CHANGED
@@ -19,7 +19,7 @@ if ( $post_query->have_posts() ) {
19
 
20
  $testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
21
  $tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
22
- $tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : '' );
23
 
24
  switch ( $tfree_rating_star ) {
25
  case 'five_star':
19
 
20
  $testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
21
  $tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
22
+ $tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : 'five_star' );
23
 
24
  switch ( $tfree_rating_star ) {
25
  case 'five_star':
public/views/shortcoderender.php CHANGED
@@ -296,7 +296,7 @@ if ( ! class_exists( 'TFREE_Shortcode_Render' ) ) {
296
  include SP_TFREE_PATH . '/public/views/templates/theme-one.php';
297
  }
298
  $total_rated_testimonials++;
299
- $total_rating_count += $rating_value;
300
  endwhile;
301
  } else {
302
  $outline .= '<h2 class="sp-not-testimonial-found">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
296
  include SP_TFREE_PATH . '/public/views/templates/theme-one.php';
297
  }
298
  $total_rated_testimonials++;
299
+ $total_rating_count += ( $star_rating && ! empty( $tfree_rating_star ) ) ? $rating_value : 0;
300
  endwhile;
301
  } else {
302
  $outline .= '<h2 class="sp-not-testimonial-found">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shapedplugin
3
  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.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -199,6 +199,9 @@ Thank you!
199
 
200
  == Changelog ==
201
 
 
 
 
202
  = 2.2 - Mar 25, 2020 =
203
  * Fix: Security issue. (This vulnerability was discovered by Vishnupriya Ilango of Fortinet's FortiGuard Labs.)
204
 
3
  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.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
199
 
200
  == Changelog ==
201
 
202
+ = 2.2.1 - May 02, 2020 =
203
+ * Fix: Undefined variable notices issue.
204
+
205
  = 2.2 - Mar 25, 2020 =
206
  * Fix: Security issue. (This vulnerability was discovered by Vishnupriya Ilango of Fortinet's FortiGuard Labs.)
207
 
testimonial-free.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Testimonial
13
  * Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/
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
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
@@ -68,7 +68,7 @@ if ( ! class_exists( 'SP_Testimonial_FREE' ) ) {
68
  *
69
  * @var string
70
  */
71
- public $version = '2.2';
72
 
73
  /**
74
  * @var SP_TFREE_Testimonial $shortcode
12
  * Plugin Name: Testimonial
13
  * Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/
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.1
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
68
  *
69
  * @var string
70
  */
71
+ public $version = '2.2.1';
72
 
73
  /**
74
  * @var SP_TFREE_Testimonial $shortcode