WP Review - Version 5.3.2

Version Description

Download this release

Release Info

Developer MyThemeShop
Plugin Icon 128x128 WP Review
Version 5.3.2
Comparing to
See all releases

Code changes from version 5.3.1 to 5.3.2

Files changed (3) hide show
  1. includes/functions.php +1 -1
  2. readme.txt +4 -1
  3. wp-review.php +2 -2
includes/functions.php CHANGED
@@ -3615,7 +3615,7 @@ function wp_review_facebook_page_review_schema( $review, $page ) {
3615
  * @param string $type Rating type.
3616
  * @return float
3617
  */
3618
- function wp_review_normalize_rating_value( $value, $type ) {
3619
  $rating_type = wp_review_get_rating_type_data( $type );
3620
  if ( ! $rating_type ) {
3621
  return $value;
3615
  * @param string $type Rating type.
3616
  * @return float
3617
  */
3618
+ function wp_review_normalize_rating_value( $value, $type = 'star' ) {
3619
  $rating_type = wp_review_get_rating_type_data( $type );
3620
  if ( ! $rating_type ) {
3621
  return $value;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Creator's website link: http://mythemeshop.com/plugins/wp-review/
4
  Tags: review, schema.org, rating, schema, user rating, google rating, star rating, product review
5
  Requires at least: 4.9
6
  Tested up to: 5.4
7
- Stable tag: 5.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -151,6 +151,9 @@ There are two ways you can do this. You can update the plugin by downloading a f
151
 
152
  == Changelog ==
153
 
 
 
 
154
  = v5.3.1 (Apr 8, 2020) =
155
  * Improved Weeblramp plugin integration
156
  * Fixed wrong decimal of rating value in the schema output
4
  Tags: review, schema.org, rating, schema, user rating, google rating, star rating, product review
5
  Requires at least: 4.9
6
  Tested up to: 5.4
7
+ Stable tag: 5.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
151
 
152
  == Changelog ==
153
 
154
+ = v5.3.2 (Apr 9, 2020) =
155
+ * Fixed `Fatal error: Uncaught ArgumentCountError` appearing on some installations
156
+
157
  = v5.3.1 (Apr 8, 2020) =
158
  * Improved Weeblramp plugin integration
159
  * Fixed wrong decimal of rating value in the schema output
wp-review.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Review
4
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
5
  * Description: Create reviews! Choose from stars, percentages or points for review scores. Supports Retina Display, WPMU and Unlimited Color Schemes.
6
- * Version: 5.3.1
7
  * Author: MyThemeShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
@@ -46,7 +46,7 @@ if ( version_compare( phpversion(), '5.6', '<' ) ) {
46
  }
47
 
48
  /* Plugin version */
49
- define( 'WP_REVIEW_PLUGIN_VERSION', '5.3.1' );
50
 
51
  /* Sets the custom db table name. */
52
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );
3
  * Plugin Name: WP Review
4
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
5
  * Description: Create reviews! Choose from stars, percentages or points for review scores. Supports Retina Display, WPMU and Unlimited Color Schemes.
6
+ * Version: 5.3.2
7
  * Author: MyThemeShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
46
  }
47
 
48
  /* Plugin version */
49
+ define( 'WP_REVIEW_PLUGIN_VERSION', '5.3.2' );
50
 
51
  /* Sets the custom db table name. */
52
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );