WP Review - Version 5.0.6

Version Description

Download this release

Release Info

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

Code changes from version 5.0.5 to 5.0.6

Files changed (4) hide show
  1. admin/metaboxes.php +1 -1
  2. includes/functions.php +1 -1
  3. readme.txt +6 -1
  4. wp-review.php +3 -3
admin/metaboxes.php CHANGED
@@ -715,7 +715,7 @@ function wp_review_render_meta_box_userReview( $post ) {
715
 
716
  $type = get_post_meta( $post->ID, 'wp_review_user_review_type', true );
717
  if ( ! $type ) {
718
- $type = 'star';
719
  }
720
  //$available_types = apply_filters( 'wp_review_metabox_user_rating_types', wp_review_get_review_types( 'user' ) );
721
  $available_types = wp_review_get_rating_types();
715
 
716
  $type = get_post_meta( $post->ID, 'wp_review_user_review_type', true );
717
  if ( ! $type ) {
718
+ $type = wp_review_option( 'review_type', 'none' );
719
  }
720
  //$available_types = apply_filters( 'wp_review_metabox_user_rating_types', wp_review_get_review_types( 'user' ) );
721
  $available_types = wp_review_get_rating_types();
includes/functions.php CHANGED
@@ -748,7 +748,7 @@ add_filter( 'admin_comment_types_dropdown', 'wp_review_add_to_comment_table_drop
748
  * 3 - Both
749
  */
750
  function wp_review_get_user_rating_setup( $post_id ) {
751
- $default = WP_REVIEW_REVIEW_DISABLED;
752
  $user_reviews = (int) get_post_meta( $post_id, 'wp_review_userReview', true );
753
  $enabled = ! $user_reviews ? $default : $user_reviews;
754
  if ( is_array( $user_reviews ) ) {
748
  * 3 - Both
749
  */
750
  function wp_review_get_user_rating_setup( $post_id ) {
751
+ $default = wp_review_option( 'default_user_review_type', WP_REVIEW_REVIEW_DISABLED );
752
  $user_reviews = (int) get_post_meta( $post_id, 'wp_review_userReview', true );
753
  $enabled = ! $user_reviews ? $default : $user_reviews;
754
  if ( is_array( $user_reviews ) ) {
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: 4.0
6
  Tested up to: 4.9.8
7
- Stable tag: 5.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,11 @@ Please disable all plugins and check if rating is working properly. Then you can
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
106
  = v5.0.5 (Sep 19, 2018) =
107
  * Fixed colorpicker conflict with Avada theme
108
 
4
  Tags: review, wp review, rating, wp rating, user rating, google rating, star rating, product review
5
  Requires at least: 4.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 5.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = v5.0.6 (Sep 24, 2018) =
107
+ * Fixed few global settings were getting applied in the single post
108
+ * Changed rating color to yellow for all the backend data
109
+ * Fixed small bug related to extra semicolon
110
+
111
  = v5.0.5 (Sep 19, 2018) =
112
  * Fixed colorpicker conflict with Avada theme
113
 
wp-review.php CHANGED
@@ -3,8 +3,8 @@
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.0.5
7
- * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
10
  *
@@ -45,7 +45,7 @@ if ( version_compare( phpversion(), '5.6', '<' ) ) {
45
  }
46
 
47
  /* Plugin version */
48
- define( 'WP_REVIEW_PLUGIN_VERSION', '5.0.5' );
49
 
50
  /* Sets the custom db table name. */
51
  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.0.6
7
+ * Author: MyThemeShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
10
  *
45
  }
46
 
47
  /* Plugin version */
48
+ define( 'WP_REVIEW_PLUGIN_VERSION', '5.0.6' );
49
 
50
  /* Sets the custom db table name. */
51
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );