Strong Testimonials - Version 2.31.1

Version Description

  • May 15, 2018 =
  • Fix conflict with Review Markup add-on.
Download this release

Release Info

Developer cdillon27
Plugin Icon 128x128 Strong Testimonials
Version 2.31.1
Comparing to
See all releases

Code changes from version 2.31 to 2.31.1

includes/class-strong-testimonials-shortcode-average.php CHANGED
@@ -169,7 +169,7 @@ class Strong_Testimonials_Average_Shortcode {
169
 
170
  // stars
171
  if ( isset( $parts['stars'] ) ) {
172
- $parts['stars'] = $this->print_stars( wpmtst_round_half( $summary['rating_average'] ) );
173
  }
174
 
175
  // average
169
 
170
  // stars
171
  if ( isset( $parts['stars'] ) ) {
172
+ $parts['stars'] = $this->print_stars( wpmtst_round_to_half( $summary['rating_average'] ) );
173
  }
174
 
175
  // average
includes/functions.php CHANGED
@@ -823,7 +823,7 @@ if ( ! function_exists( 'normalize_empty_atts' ) ) {
823
  }
824
  }
825
 
826
- if ( ! function_exists( 'wpmtst_round_half' ) ) {
827
  /**
828
  * Round to the nearest half.
829
  *
@@ -832,7 +832,7 @@ if ( ! function_exists( 'wpmtst_round_half' ) ) {
832
  * @since 2.31.0
833
  * @return float|int
834
  */
835
- function wpmtst_round_half( $value ) {
836
  if ( is_string( $value ) ) {
837
  $value = (float) str_replace( ',', '.', $value );
838
  }
823
  }
824
  }
825
 
826
+ if ( ! function_exists( 'wpmtst_round_to_half' ) ) {
827
  /**
828
  * Round to the nearest half.
829
  *
832
  * @since 2.31.0
833
  * @return float|int
834
  */
835
+ function wpmtst_round_to_half( $value ) {
836
  if ( is_string( $value ) ) {
837
  $value = (float) str_replace( ',', '.', $value );
838
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: cdillon27
3
  Tags: testimonials, testimonial slider, testimonial form, reviews, star ratings
4
  Requires at least: 3.7
5
  Tested up to: 4.9.5
6
- Stable tag: 2.31
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -197,6 +197,9 @@ If you prefer, start a private support ticket at [support.strongplugins.com](htt
197
 
198
  == Changelog ==
199
 
 
 
 
200
  = 2.31 - May 15, 2018 =
201
  * Add `[testimonial_average_rating]` shortcode.
202
  * Add compatibility option for script controller.
3
  Tags: testimonials, testimonial slider, testimonial form, reviews, star ratings
4
  Requires at least: 3.7
5
  Tested up to: 4.9.5
6
+ Stable tag: 2.31.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
197
 
198
  == Changelog ==
199
 
200
+ = 2.31.1 - May 15, 2018 =
201
+ * Fix conflict with Review Markup add-on.
202
+
203
  = 2.31 - May 15, 2018 =
204
  * Add `[testimonial_average_rating]` shortcode.
205
  * Add compatibility option for script controller.
strong-testimonials.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://strongplugins.com/plugins/strong-testimonials/
5
  * Description: Collect and display your testimonials or reviews.
6
  * Author: Chris Dillon
7
- * Version: 2.31
8
  *
9
  * Author URI: https://strongplugins.com/
10
  * Text Domain: strong-testimonials
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
34
  exit;
35
  }
36
 
37
- define( 'WPMTST_VERSION', '2.31' );
38
  define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
39
  define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
40
  define( 'STRONGPLUGINS_STORE_URL', 'https://strongplugins.com' );
4
  * Plugin URI: https://strongplugins.com/plugins/strong-testimonials/
5
  * Description: Collect and display your testimonials or reviews.
6
  * Author: Chris Dillon
7
+ * Version: 2.31.1
8
  *
9
  * Author URI: https://strongplugins.com/
10
  * Text Domain: strong-testimonials
34
  exit;
35
  }
36
 
37
+ define( 'WPMTST_VERSION', '2.31.1' );
38
  define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
39
  define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
40
  define( 'STRONGPLUGINS_STORE_URL', 'https://strongplugins.com' );