Yasr – Yet Another Stars Rating - Version 1.2.1

Version Description

  • FIXED: worng css class on ajax response if yasr_visitor_votes is used with a different size then default
Download this release

Release Info

Developer Dudo
Plugin Icon 128x128 Yasr – Yet Another Stars Rating
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

lib/yasr-ajax-functions.php CHANGED
@@ -1196,11 +1196,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1196
$rating = 5;
1197
}
1198
1199
- if ($rateit_class == 'rateit') {
1200
$px_size = '16';
1201
}
1202
1203
- elseif ($rateit_class == 'rateit medium') {
1204
$px_size = '24';
1205
}
1206
@@ -1355,11 +1355,11 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
1355
$rating = 5;
1356
}
1357
1358
- if ($rateit_class == 'rateit') {
1359
$px_size = '16';
1360
}
1361
1362
- elseif ($rateit_class == 'rateit medium') {
1363
$px_size = '24';
1364
}
1365
1196
$rating = 5;
1197
}
1198
1199
+ if ($rateit_class == 'rateit yasr_visitor_votes_stars_div') {
1200
$px_size = '16';
1201
}
1202
1203
+ elseif ($rateit_class == 'rateit medium yasr_visitor_votes_stars_div') {
1204
$px_size = '24';
1205
}
1206
1355
$rating = 5;
1356
}
1357
1358
+ if ($rateit_class == 'rateit yasr_visitor_votes_stars_div') {
1359
$px_size = '16';
1360
}
1361
1362
+ elseif ($rateit_class == 'rateit medium yasr_visitor_votes_stars_div') {
1363
$px_size = '24';
1364
}
1365
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: 5 star, admin, administrator, AJAX, five-star, javascript, jquery, post r
4
Requires at least: 3.5
5
Contributors: Dudo
6
Tested up to: 4.4.2
7
- Stable tag: 1.2.0
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
10
Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
@@ -110,6 +110,9 @@ Of course not: you can easily add it on the visual editor just by clicking on th
110
111
== Changelog ==
112
113
= 1.2.0 =
114
* FIXED: if more then one visitor multiset for page were used only the last use to work
115
* TWEAKED: transient are used to cache ratings: this means that Yasr is faster then ever
@@ -272,7 +275,7 @@ Of course not: you can easily add it on the visual editor just by clicking on th
272
* Minor changes
273
274
= 0.8.2 =
275
- * NEW FEATURE: added shortcode yasr_visitor_votes_readonly
276
* NEW FEATURE: added support for wp super cache
277
* TWIKED: color settings for multi sets was moved from general settings to multi sets tab
278
* TWIKED: log widget is now fully translatable
4
Requires at least: 3.5
5
Contributors: Dudo
6
Tested up to: 4.4.2
7
+ Stable tag: 1.2.1
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
10
Yet Another Stars Rating is a simple plugin which allows you and / or your visitor to rate a post or element. Ideal for review's website
110
111
== Changelog ==
112
113
+ = 1.2.1 =
114
+ * FIXED: worng css class on ajax response if yasr_visitor_votes is used with a different size then default
115
+
116
= 1.2.0 =
117
* FIXED: if more then one visitor multiset for page were used only the last use to work
118
* TWEAKED: transient are used to cache ratings: this means that Yasr is faster then ever
275
* Minor changes
276
277
= 0.8.2 =
278
+ * NEW FEATURE: added shortcode yasr_visitor_votes_readonly (thanks to Raul Illana for the idea)
279
* NEW FEATURE: added support for wp super cache
280
* TWIKED: color settings for multi sets was moved from general settings to multi sets tab
281
* TWIKED: log widget is now fully translatable
yet-another-stars-rating.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: Yet Another Stars Rating
4
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
* Description: Yet Another Stars Rating turn your WordPress into a complete review website.
6
- * Version: 1.2.0
7
* Author: Dario Curvino
8
* Author URI: https://yetanotherstarsrating.com/
9
* Text Domain: yet-another-stars-rating
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
32
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
33
34
35
- define('YASR_VERSION_NUM', '1.2.0');
36
37
//Plugin relative path
38
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );
3
* Plugin Name: Yet Another Stars Rating
4
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
5
* Description: Yet Another Stars Rating turn your WordPress into a complete review website.
6
+ * Version: 1.2.1
7
* Author: Dario Curvino
8
* Author URI: https://yetanotherstarsrating.com/
9
* Text Domain: yet-another-stars-rating
32
if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // Exit if accessed directly
33
34
35
+ define('YASR_VERSION_NUM', '1.2.1');
36
37
//Plugin relative path
38
define( "YASR_ABSOLUTE_PATH", dirname(__FILE__) );