Version Description
- Fixed Stars were not appearing in Tabbed widget.
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WP Review |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- assets/css/wp-review.css +1 -1
- includes/enqueue.php +1 -1
- includes/widget.php +4 -1
- readme.txt +7 -4
- wp-review.php +1 -1
assets/css/wp-review.css
CHANGED
@@ -2,7 +2,7 @@
|
|
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 |
-
* Version: 3.2.
|
6 |
* Author: MyThemesShop
|
7 |
* Author URI: http://mythemeshop.com/
|
8 |
*/
|
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 |
+
* Version: 3.2.2
|
6 |
* Author: MyThemesShop
|
7 |
* Author URI: http://mythemeshop.com/
|
8 |
*/
|
includes/enqueue.php
CHANGED
@@ -27,7 +27,7 @@ function wp_review_enqueue() {
|
|
27 |
|
28 |
if ( $type != '' ){
|
29 |
wp_enqueue_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), '1.1', 'all' );
|
30 |
-
wp_enqueue_script( 'wp_review-js', trailingslashit( WP_REVIEW_ASSETS ) . 'js/main.js', array(), '1.1',
|
31 |
?>
|
32 |
<script type="text/javascript">
|
33 |
var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
27 |
|
28 |
if ( $type != '' ){
|
29 |
wp_enqueue_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), '1.1', 'all' );
|
30 |
+
wp_enqueue_script( 'wp_review-js', trailingslashit( WP_REVIEW_ASSETS ) . 'js/main.js', array('jquery'), '1.1', true );
|
31 |
?>
|
32 |
<script type="text/javascript">
|
33 |
var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
includes/widget.php
CHANGED
@@ -27,6 +27,8 @@ class wp_review_tab_widget extends WP_Widget {
|
|
27 |
);
|
28 |
// CSS
|
29 |
wp_register_style('wp_review_tab_widget', trailingslashit( WP_REVIEW_ASSETS ).'css/wp-review-tab-widget.css', true);
|
|
|
|
|
30 |
}
|
31 |
|
32 |
function form( $instance ) {
|
@@ -184,8 +186,9 @@ class wp_review_tab_widget extends WP_Widget {
|
|
184 |
function widget( $args, $instance ) {
|
185 |
extract($args, EXTR_SKIP);
|
186 |
extract($instance, EXTR_SKIP);
|
|
|
|
|
187 |
wp_enqueue_script('wp_review_tab_widget');
|
188 |
-
wp_enqueue_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), '1.0', 'all' );
|
189 |
wp_enqueue_style('wp_review_tab_widget');
|
190 |
if (empty($tabs)) $tabs = array('recent' => 1, 'toprated' => 1);
|
191 |
$tabs_count = count($tabs);
|
27 |
);
|
28 |
// CSS
|
29 |
wp_register_style('wp_review_tab_widget', trailingslashit( WP_REVIEW_ASSETS ).'css/wp-review-tab-widget.css', true);
|
30 |
+
wp_register_style( 'wp_review-style', trailingslashit( WP_REVIEW_ASSETS ) . 'css/wp-review.css', array(), '1.1', 'all' );
|
31 |
+
wp_register_script( 'wp_review-js', trailingslashit( WP_REVIEW_ASSETS ) . 'js/main.js', array('jquery'), '1.1', true );
|
32 |
}
|
33 |
|
34 |
function form( $instance ) {
|
186 |
function widget( $args, $instance ) {
|
187 |
extract($args, EXTR_SKIP);
|
188 |
extract($instance, EXTR_SKIP);
|
189 |
+
wp_enqueue_script('wp_review-js');
|
190 |
+
wp_enqueue_style('wp_review-style');
|
191 |
wp_enqueue_script('wp_review_tab_widget');
|
|
|
192 |
wp_enqueue_style('wp_review_tab_widget');
|
193 |
if (empty($tabs)) $tabs = array('recent' => 1, 'toprated' => 1);
|
194 |
$tabs_count = count($tabs);
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -89,10 +89,13 @@ Please disable all plugins and check if rating is working properly. Then you can
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
92 |
= 3.2.1 =
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
|
97 |
= 3.2 =
|
98 |
* Added Options Panel for Global Option
|
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.2
|
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.2 =
|
93 |
+
* Fixed Stars were not appearing in Tabbed widget.
|
94 |
+
|
95 |
= 3.2.1 =
|
96 |
+
* Fixed error appearing when plugin settings weren't saved.
|
97 |
+
* Fixed JS issues.
|
98 |
+
* Fixed Tabbed Widget issue.
|
99 |
|
100 |
= 3.2 =
|
101 |
* Added Options Panel for Global Option
|
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.
|
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: 3.2.2
|
7 |
* Author: MyThemesShop
|
8 |
* Author URI: http://mythemeshop.com/
|
9 |
*
|