WP Review - Version 4.0.3

Version Description

Download this release

Release Info

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

Code changes from version 4.0.2 to 4.0.3

admin/activation.php CHANGED
File without changes
admin/admin.php CHANGED
File without changes
admin/metaboxes.php CHANGED
File without changes
admin/options.php CHANGED
File without changes
assets/css/admin.css CHANGED
File without changes
assets/css/wp-review-ie7.css CHANGED
File without changes
assets/css/wp-review-tab-widget.css CHANGED
File without changes
assets/css/wp-review.css CHANGED
File without changes
assets/fonts/font-icons.eot CHANGED
File without changes
assets/fonts/font-icons.svg CHANGED
File without changes
assets/fonts/font-icons.ttf CHANGED
File without changes
assets/fonts/font-icons.woff CHANGED
File without changes
assets/images/largethumb.png CHANGED
File without changes
assets/images/smallthumb.png CHANGED
File without changes
assets/js/admin.js CHANGED
File without changes
assets/js/main.js CHANGED
File without changes
assets/js/wp-review-tab-widget-admin.js CHANGED
File without changes
assets/js/wp-review-tab-widget.js CHANGED
File without changes
box-templates/default.php CHANGED
File without changes
filter-list.php CHANGED
File without changes
includes/enqueue.php CHANGED
File without changes
includes/functions.php CHANGED
@@ -72,7 +72,7 @@ function wp_review_inject_data( $content ) {
72
 
73
  $location = apply_filters('wp_review_location', $location, $post->ID);
74
 
75
- if ( empty($location) || $location == 'custom' || ! is_main_query() || ! in_the_loop() || ! is_single() ) {
76
  return $content;
77
  }
78
  $review = wp_review_get_review_box();
@@ -812,7 +812,7 @@ function wp_review_register_default_rating_types() {
812
  wp_review_register_rating_type( 'point', array(
813
  'label' => __('Point', 'wp-review'),
814
  'max' => 10,
815
- 'decimals' => 0,
816
  'value_text' => __('%s/10', 'wp-review'),
817
  'value_text_singular' => __('%s/10', 'wp-review'),
818
  'input_template' => WP_REVIEW_DIR . 'rating-types/point-input.php',
72
 
73
  $location = apply_filters('wp_review_location', $location, $post->ID);
74
 
75
+ if ( empty($location) || $location == 'custom' || ! is_main_query() || ! in_the_loop() || ! is_singular() ) {
76
  return $content;
77
  }
78
  $review = wp_review_get_review_box();
812
  wp_review_register_rating_type( 'point', array(
813
  'label' => __('Point', 'wp-review'),
814
  'max' => 10,
815
+ 'decimals' => 1,
816
  'value_text' => __('%s/10', 'wp-review'),
817
  'value_text_singular' => __('%s/10', 'wp-review'),
818
  'input_template' => WP_REVIEW_DIR . 'rating-types/point-input.php',
includes/widget.php CHANGED
File without changes
languages/default.mo CHANGED
File without changes
languages/default.po CHANGED
File without changes
rating-types/percentage-input.js CHANGED
File without changes
rating-types/percentage-input.php CHANGED
File without changes
rating-types/percentage-output.php CHANGED
File without changes
rating-types/point-input.js CHANGED
File without changes
rating-types/point-input.php CHANGED
File without changes
rating-types/point-output.php CHANGED
File without changes
rating-types/star-input.js CHANGED
File without changes
rating-types/star-input.php CHANGED
File without changes
rating-types/star-output.php CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Creator's website link: http://mythemeshop.com/plugins/wp-review/
4
  Tags: review, wp review, rating, wp rating, user rating, google rating, star rating, product review
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
- Stable tag: 4.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,10 @@ Please disable all plugins and check if rating is working properly. Then you can
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  = 4.0.2 =
105
  * Added back missing Widget Title field
106
 
4
  Tags: review, wp review, rating, wp rating, user rating, google rating, star rating, product review
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
+ Stable tag: 4.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 4.0.2 =
105
+ * Fixed decimals issue in Point reviews
106
+ * Fixed bug preventing reviews to appear on Pages
107
+
108
  = 4.0.2 =
109
  * Added back missing Widget Title field
110
 
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: 4.0.2
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  *
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
20
  if ( ! defined( 'MTS_WP_REVIEW_DB_TABLE' )) {
21
 
22
  /* Plugin version */
23
- define( 'WP_REVIEW_PLUGIN_VERSION', '3.3.5' );
24
 
25
  /* Sets the custom db table name. */
26
  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: 4.0.3
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  *
20
  if ( ! defined( 'MTS_WP_REVIEW_DB_TABLE' )) {
21
 
22
  /* Plugin version */
23
+ define( 'WP_REVIEW_PLUGIN_VERSION', '4.0.3' );
24
 
25
  /* Sets the custom db table name. */
26
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );