WP Review - Version 5.0.4

Version Description

Download this release

Release Info

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

Code changes from version 5.0.3 to 5.0.4

admin/metaboxes.php CHANGED
@@ -282,7 +282,7 @@ function wp_review_render_meta_box_item( $post ) {
282
  </div>
283
  </script>
284
 
285
- <div class="wp-review-field">
286
  <div class="wp-review-field-label">
287
  <label><?php esc_html_e( 'Hide Features', 'wp-review' ); ?></label>
288
  <?php wp_review_print_pro_text(); ?>
@@ -298,7 +298,7 @@ function wp_review_render_meta_box_item( $post ) {
298
  ?>
299
  </div>
300
  </div>
301
- <div class="wp-review-field">
302
  <div class="wp-review-field-label">
303
  <label><?php esc_html_e( 'Custom Location', 'wp-review' ); ?></label>
304
  </div>
@@ -314,7 +314,7 @@ function wp_review_render_meta_box_item( $post ) {
314
  </div>
315
  </div>
316
 
317
- <div class="wp-review-location-options"<?php if ( empty( $custom_location ) ) echo ' style="display: none;"'; ?>>
318
  <div class="wp-review-field">
319
  <div class="wp-review-field-label">
320
  <label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
@@ -336,7 +336,7 @@ function wp_review_render_meta_box_item( $post ) {
336
  </div>
337
  </div>
338
 
339
- <div class="wp-review-field">
340
  <div class="wp-review-field-label">
341
  <label><?php esc_html_e( 'Custom Layout', 'wp-review' ); ?></label>
342
  </div>
282
  </div>
283
  </script>
284
 
285
+ <div class="wp-review-field"<?php if ( empty( $displayed_fields['disable_features'] ) ) echo ' style="display: none;"'; ?>>
286
  <div class="wp-review-field-label">
287
  <label><?php esc_html_e( 'Hide Features', 'wp-review' ); ?></label>
288
  <?php wp_review_print_pro_text(); ?>
298
  ?>
299
  </div>
300
  </div>
301
+ <div class="wp-review-field"<?php if ( empty( $displayed_fields['custom_location'] ) ) echo ' style="display: none;"'; ?>>
302
  <div class="wp-review-field-label">
303
  <label><?php esc_html_e( 'Custom Location', 'wp-review' ); ?></label>
304
  </div>
314
  </div>
315
  </div>
316
 
317
+ <div class="wp-review-location-options"<?php if ( empty( $custom_location ) || empty( $displayed_fields['location'] ) ) echo ' style="display: none;"'; ?>>
318
  <div class="wp-review-field">
319
  <div class="wp-review-field-label">
320
  <label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
336
  </div>
337
  </div>
338
 
339
+ <div class="wp-review-field"<?php if ( empty( $displayed_fields['custom_colors'] ) ) echo ' style="display: none;"'; ?>>
340
  <div class="wp-review-field-label">
341
  <label><?php esc_html_e( 'Custom Layout', 'wp-review' ); ?></label>
342
  </div>
admin/options/review.php CHANGED
@@ -695,7 +695,7 @@ $form_field = new WP_Review_Form_Field();
695
  </div>
696
  </div>
697
 
698
- <div class="wp-review-field">
699
  <div class="wp-review-field-label">
700
  <label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
701
  </div>
695
  </div>
696
  </div>
697
 
698
+ <div class="wp-review-field"<?php if ( empty( $displayed_fields['location'] ) ) echo ' style="display: none;"'; ?>>
699
  <div class="wp-review-field-label">
700
  <label for="wp_review_location"><?php esc_html_e( 'Review Location', 'wp-review' ); ?></label>
701
  </div>
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.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,9 @@ Please disable all plugins and check if rating is working properly. Then you can
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = v5.0.3 (Sep 17, 2018) =
107
  * Fixed PHP notice relates to inactive color
108
  * Fixed wrong inactive color in the review box
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.4
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.4 (Sep 18, 2018) =
107
+ * Added missing options in the `wp_review_metabox_item_fields` filter
108
+
109
  = v5.0.3 (Sep 17, 2018) =
110
  * Fixed PHP notice relates to inactive color
111
  * Fixed wrong inactive color in the review box
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.0.3
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
@@ -45,7 +45,7 @@ if ( version_compare( phpversion(), '5.6', '<' ) ) {
45
  }
46
 
47
  /* Plugin version */
48
- define( 'WP_REVIEW_PLUGIN_VERSION', '5.0.3' );
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.4
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  * Text Domain: wp-review
45
  }
46
 
47
  /* Plugin version */
48
+ define( 'WP_REVIEW_PLUGIN_VERSION', '5.0.4' );
49
 
50
  /* Sets the custom db table name. */
51
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );