WP Review - Version 4.0.5

Version Description

  • Fixed: final rating can now be entered manually again
  • Fixed: removed unneeded code related to circle review type
Download this release

Release Info

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

Code changes from version 4.0.4 to 4.0.5

admin/options.php CHANGED
@@ -30,7 +30,7 @@ function wpreview_register_settings() {
30
function wpreview_settings_page() {
31
$options = get_option('wp_review_options');
32
33
- $available_types = apply_filters('wp_review_metabox_types', array('star' => __('Star', 'wp-review'), 'point' => __('Point', 'wp-review'), 'percentage' => __('Percentage', 'wp-review'), 'circle' => __('Circle', 'wp-review')));
34
$default_options = array(
35
'colors' => array(
36
'color' => '',
30
function wpreview_settings_page() {
31
$options = get_option('wp_review_options');
32
33
+ $available_types = apply_filters('wp_review_metabox_types', array('star' => __('Star', 'wp-review'), 'point' => __('Point', 'wp-review'), 'percentage' => __('Percentage', 'wp-review')));
34
$default_options = array(
35
'colors' => array(
36
'color' => '',
assets/css/admin.css CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/css/wp-review-ie7.css CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/css/wp-review-tab-widget.css CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/css/wp-review.css CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/js/admin.js CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
@@ -90,6 +90,7 @@ jQuery(document).ready(function($) {
90
$('#wp_review_heading_group').hide();
91
$('#wp-review-metabox-reviewLinks').hide();
92
93
$('#wp_review_type').on( 'change', function() {
94
var selected_val = $(this).val();
95
var $selected_option = $(this).find('option:selected');
@@ -111,8 +112,10 @@ jQuery(document).ready(function($) {
111
current_rating_max = max;
112
current_rating_decimals = decimals;
113
$.validate_review_value( max );
114
- $.review_total();
115
-
116
}).change();
117
118
$('#wp_review_custom_colors').change(function(e) {
@@ -191,7 +194,7 @@ jQuery(document).ready(function($) {
191
192
193
194
- $.review_total();
195
//$.validate_review_value();
196
//$('.review-star').trigger('change');
197
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
90
$('#wp_review_heading_group').hide();
91
$('#wp-review-metabox-reviewLinks').hide();
92
93
+ var ratings_initiated = false;
94
$('#wp_review_type').on( 'change', function() {
95
var selected_val = $(this).val();
96
var $selected_option = $(this).find('option:selected');
112
current_rating_max = max;
113
current_rating_decimals = decimals;
114
$.validate_review_value( max );
115
+ if (ratings_initiated) {
116
+ $.review_total();
117
+ }
118
+ ratings_initiated = true;
119
}).change();
120
121
$('#wp_review_custom_colors').change(function(e) {
194
195
196
197
+ //$.review_total();
198
//$.validate_review_value();
199
//$('.review-star').trigger('change');
200
assets/js/main.js CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/js/wp-review-tab-widget-admin.js CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
assets/js/wp-review-tab-widget.js CHANGED
@@ -1,7 +1,7 @@
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
- * Description: Create reviews! Choose from Stars, Percentages, Circles or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
1
/*
2
* Plugin Name: WP Review
3
* Plugin URI: https://wordpress.org/plugins/wp-review/
4
+ * Description: Create reviews! Choose from Stars, Percentages or Points for review scores. Supports Retina Display, WPMU & Unlimited Color Schemes.
5
* Author: MyThemesShop
6
* Author URI: http://mythemeshop.com/
7
*/
includes/widget.php CHANGED
@@ -207,7 +207,6 @@ class wp_review_tab_widget extends WP_Widget {
207
wp_enqueue_script( 'wp_review_tab_widget' );
208
wp_enqueue_script( 'wp_review-js' );
209
wp_enqueue_style( 'wp_review-style' );
210
- wp_enqueue_script( 'wp-review-circle-output', trailingslashit( WP_REVIEW_URI ) . 'rating-types/circle-output.js', array( 'jquery' ) );
211
wp_enqueue_style( 'wp_review_tab_widget' );
212
wp_localize_script( 'wp_review-js', 'wpreview', array(
213
'ajaxurl' => admin_url('admin-ajax.php')
207
wp_enqueue_script( 'wp_review_tab_widget' );
208
wp_enqueue_script( 'wp_review-js' );
209
wp_enqueue_style( 'wp_review-style' );
210
wp_enqueue_style( 'wp_review_tab_widget' );
211
wp_localize_script( 'wp_review-js', 'wpreview', array(
212
'ajaxurl' => admin_url('admin-ajax.php')
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.4
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -107,8 +107,12 @@ Please disable all plugins and check if rating is working properly. Then you can
107
108
== Changelog ==
109
110
= 4.0.4 =
111
- * Fixed: backlink option is not enabled by default anymore. Sorry for that!
112
113
= 4.0.3 =
114
* Fixed decimals issue in Point reviews
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.5
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
107
108
== Changelog ==
109
110
+ = 4.0.5 =
111
+ * Fixed: final rating can now be entered manually again
112
+ * Fixed: removed unneeded code related to circle review type
113
+
114
= 4.0.4 =
115
+ * Fixed: backlink option is not enabled by default anymore. Sorry about that!
116
117
= 4.0.3 =
118
* Fixed decimals issue in Point reviews
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.4
7
* Author: MyThemesShop
8
* Author URI: http://mythemeshop.com/
9
*
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.5
7
* Author: MyThemesShop
8
* Author URI: http://mythemeshop.com/
9
*