WP Review - Version 3.2.5

Version Description

  • Added loading animation in widget
  • Fixed minor bug in user ratings
Download this release

Release Info

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

Code changes from version 3.2.4 to 3.2.5

assets/css/admin.css CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
  .wp-review-field label { width: 15%; display: inline-block; *display: inline; *zoom: 1; }
9
  .wp-review-field select { width: 15em }
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
  .wp-review-field label { width: 15%; display: inline-block; *display: inline; *zoom: 1; }
6
  .wp-review-field select { width: 15em }
assets/css/wp-review-ie7.css CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
  [class^="icon-"], [class*=" icon-"] {
9
  font-family: 'font-icons';
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
  [class^="icon-"], [class*=" icon-"] {
6
  font-family: 'font-icons';
assets/css/wp-review-tab-widget.css CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
  .wp_review_tab_widget_content { position: relative; border: 1px solid #E4E4E4; }
9
  .wp_review_tab_widget_content img { max-width: 100%; height: auto; }
@@ -30,8 +27,63 @@
30
  .wp_review_tab_widget_content .wp-review-tab-pagination a { margin: 0 15px }
31
  .wp-review-tab-pagination a.next { float: right }
32
  /* Loading... */
33
- .wp-review-tab-loading:after { content: ""; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(255,255,255,0.8); }
34
- .clear { clear: both }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  /* Rating... */
36
  .review-total-only.small-thumb { font-size: 15px; font-weight: bold; padding: 0 4px; margin-top: 4px; float: left; }
37
  .review-total-only.small-thumb.review-type-star { background: none; padding: 0; }
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
  .wp_review_tab_widget_content { position: relative; border: 1px solid #E4E4E4; }
6
  .wp_review_tab_widget_content img { max-width: 100%; height: auto; }
27
  .wp_review_tab_widget_content .wp-review-tab-pagination a { margin: 0 15px }
28
  .wp-review-tab-pagination a.next { float: right }
29
  /* Loading... */
30
+ .wp-review-tab-loading {
31
+ min-height: 120px;
32
+ }
33
+ .wp-review-tab-loading:before {
34
+ content: "";
35
+ display: block;
36
+ position: absolute;
37
+ top: 0;
38
+ right: 0;
39
+ bottom: 0;
40
+ left: 0;
41
+ background-color: rgba(255,255,255,0.8);
42
+ z-index: 11;
43
+ }
44
+ .clear {
45
+ clear: both;
46
+ }
47
+
48
+ .wp-review-tab-loading:after {
49
+ content: "";
50
+ margin: 0 auto 3em auto;
51
+ font-size: 10px;
52
+ position: absolute;
53
+ top: 45%;
54
+ left: 49%;
55
+ z-index: 12;
56
+ text-indent: -9999em;
57
+ border-top: 0.4em solid rgba(0, 0, 0, 0.2);
58
+ border-right: 0.4em solid rgba(0, 0, 0, 0.2);
59
+ border-bottom: 0.4em solid rgba(0, 0, 0, 0.2);
60
+ border-left: 0.4em solid #000;
61
+ -webkit-animation: load8 0.5s infinite linear;
62
+ animation: load8 0.5s infinite linear;
63
+ border-radius: 50%;
64
+ width: 2em;
65
+ height: 2em;
66
+ }
67
+ @-webkit-keyframes load8 {
68
+ 0% {
69
+ -webkit-transform: rotate(0deg);
70
+ transform: rotate(0deg);
71
+ }
72
+ 100% {
73
+ -webkit-transform: rotate(360deg);
74
+ transform: rotate(360deg);
75
+ }
76
+ }
77
+ @keyframes load8 {
78
+ 0% {
79
+ -webkit-transform: rotate(0deg);
80
+ transform: rotate(0deg);
81
+ }
82
+ 100% {
83
+ -webkit-transform: rotate(360deg);
84
+ transform: rotate(360deg);
85
+ }
86
+ }
87
  /* Rating... */
88
  .review-total-only.small-thumb { font-size: 15px; font-weight: bold; padding: 0 4px; margin-top: 4px; float: left; }
89
  .review-total-only.small-thumb.review-type-star { background: none; padding: 0; }
assets/css/wp-review.css CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
  .review-wrapper { border: 1px solid #e7e7e7; margin-bottom: 1.5em; overflow: hidden; clear: both; }
9
  .review-title { background-color: #f6f6f6; border-bottom: 1px solid #e7e7e7; margin: 0; padding: 10px 15px; }
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
  .review-wrapper { border: 1px solid #e7e7e7; margin-bottom: 1.5em; overflow: hidden; clear: both; }
6
  .review-title { background-color: #f6f6f6; border-bottom: 1px solid #e7e7e7; margin: 0; padding: 10px 15px; }
assets/images/wp-review-pro.jpg CHANGED
Binary file
assets/js/admin.js CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
 
9
  jQuery(document).ready(function($) {
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
 
6
  jQuery(document).ready(function($) {
assets/js/main.js CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
 
9
  jQuery(document).ready(function($){
@@ -39,7 +36,7 @@ jQuery(document).ready(function($){
39
  $('.review-total-star.allowed-to-rate a, .review-total-star.allowed-to-rate a').off();
40
  $('.review-total-wrapper span.review-total-box.hidden').removeClass('hidden').show();
41
  var starsWidth = response[0] *20;
42
- $('.review-total-star .review-result').css('width', starsWidth+'%');
43
 
44
  $('.wp-review-comment-field.allowed-to-rate').removeClass('allowed-to-rate').find('.review-result').css('width', starsWidth+'%');
45
  }
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
 
6
  jQuery(document).ready(function($){
36
  $('.review-total-star.allowed-to-rate a, .review-total-star.allowed-to-rate a').off();
37
  $('.review-total-wrapper span.review-total-box.hidden').removeClass('hidden').show();
38
  var starsWidth = response[0] *20;
39
+ $('.user-review-area .review-result').css('width', starsWidth+'%');
40
 
41
  $('.wp-review-comment-field.allowed-to-rate').removeClass('allowed-to-rate').find('.review-result').css('width', starsWidth+'%');
42
  }
assets/js/wp-review-tab-widget-admin.js CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  jQuery(document).on('click', function(e) {
2
  var $this = jQuery(e.target);
3
  var $form = $this.closest('.wp_review_tab_options_form');
1
+ /*
2
+ * Plugin Name: WP Review
3
+ * Plugin URI: http://mythemeshop.com/plugins/wp-review/
4
+ */
5
  jQuery(document).on('click', function(e) {
6
  var $this = jQuery(e.target);
7
  var $form = $this.closest('.wp_review_tab_options_form');
assets/js/wp-review-tab-widget.js CHANGED
@@ -1,9 +1,6 @@
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/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
  */
8
 
9
  function wp_review_tab_loadTabContent(tab_name, page_num, container, args_obj) {
1
  /*
2
  * Plugin Name: WP Review
3
  * Plugin URI: http://mythemeshop.com/plugins/wp-review/
 
 
 
4
  */
5
 
6
  function wp_review_tab_loadTabContent(tab_name, page_num, container, args_obj) {
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.0
7
- Stable tag: 3.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -89,6 +89,10 @@ Please disable all plugins and check if rating is working properly. Then you can
89
 
90
  == Changelog ==
91
 
 
 
 
 
92
  = 3.2.4 =
93
  * Fixed text from review box appearing in widgets
94
  * Fixed PHP notice on reviews with only total rating and no criteria
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.0
7
+ Stable tag: 3.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
89
 
90
  == Changelog ==
91
 
92
+ = 3.2.5 =
93
+ * Added loading animation in widget
94
+ * Fixed minor bug in user ratings
95
+
96
  = 3.2.4 =
97
  * Fixed text from review box appearing in widgets
98
  * Fixed PHP notice on reviews with only total rating and no criteria
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: 3.2.4
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  *
@@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
26
  if ( ! defined( 'MTS_WP_REVIEW_DB_TABLE' ) ) {
27
 
28
  /* Plugin version */
29
- define( 'WP_REVIEW_PLUGIN_VERSION', '3.2.4' );
30
 
31
  /* Sets the custom db table name. */
32
  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: 3.2.5
7
  * Author: MyThemesShop
8
  * Author URI: http://mythemeshop.com/
9
  *
26
  if ( ! defined( 'MTS_WP_REVIEW_DB_TABLE' ) ) {
27
 
28
  /* Plugin version */
29
+ define( 'WP_REVIEW_PLUGIN_VERSION', '3.2.5' );
30
 
31
  /* Sets the custom db table name. */
32
  define( 'MTS_WP_REVIEW_DB_TABLE', 'mts_wp_reviews' );