Yasr – Yet Another Stars Rating - Version 1.8.2

Version Description

  • FIXED: widgets didn't load in front end
Download this release

Release Info

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

Code changes from version 1.8.1 to 1.8.2

img/yasr-pro-stars.png CHANGED
Binary file
lib/yasr-functions.php CHANGED
@@ -118,25 +118,19 @@ function yasr_css_stars_set() {
118
119
//if star selected is "rater", select the images
120
if (YASR_STARS_SET === 'rater') {
121
-
122
$star_grey = YASR_IMG_DIR . 'star_0.svg';
123
$star_yellow = YASR_IMG_DIR . 'star_1.svg';
124
-
125
}
126
127
elseif (YASR_STARS_SET === 'rater-oxy') {
128
-
129
$star_grey = YASR_IMG_DIR . 'star_oxy_0.svg';
130
$star_yellow = YASR_IMG_DIR . 'star_oxy_1.svg';
131
-
132
}
133
134
//by default, use the one provided by Yasr
135
else {
136
-
137
$star_grey = YASR_IMG_DIR . 'star_2.svg';
138
$star_yellow = YASR_IMG_DIR . 'star_3.svg';
139
-
140
}
141
142
118
119
//if star selected is "rater", select the images
120
if (YASR_STARS_SET === 'rater') {
121
$star_grey = YASR_IMG_DIR . 'star_0.svg';
122
$star_yellow = YASR_IMG_DIR . 'star_1.svg';
123
}
124
125
elseif (YASR_STARS_SET === 'rater-oxy') {
126
$star_grey = YASR_IMG_DIR . 'star_oxy_0.svg';
127
$star_yellow = YASR_IMG_DIR . 'star_oxy_1.svg';
128
}
129
130
//by default, use the one provided by Yasr
131
else {
132
$star_grey = YASR_IMG_DIR . 'star_2.svg';
133
$star_yellow = YASR_IMG_DIR . 'star_3.svg';
134
}
135
136
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.3.0
5
Contributors: Dudo
6
Tested up to: 5.0.2
7
Requires PHP: 5.3
8
- Stable tag: 1.8.1
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
Boost the way people interact with your website, e-commerce or blog with an easy and intuitive WordPress rating system!
@@ -116,8 +116,11 @@ If doesn't, it's suggested to ask in a SEO oriented forum.
116
117
The full changelog can be found in the plugin's directory. Recent entries:
118
119
= 1.8.1 =
120
- * Rounded stars come back :)
121
122
= 1.8.0 =
123
* This is a very important release. A lot of code has been cleaned up/rewritten. Images are not png anymore, but svg.
@@ -194,4 +197,4 @@ External Libraries: [Rater](https://github.com/fredolss/rater-js)
194
[tippy](https://atomiks.github.io/tippyjs/)
195
196
Svg star icon made by [Freepik](http://www.freepik.com)
197
- from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/)
5
Contributors: Dudo
6
Tested up to: 5.0.2
7
Requires PHP: 5.3
8
+ Stable tag: 1.8.2
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
Boost the way people interact with your website, e-commerce or blog with an easy and intuitive WordPress rating system!
116
117
The full changelog can be found in the plugin's directory. Recent entries:
118
119
+ = 1.8.2 =
120
+ * FIXED: widgets didn't load in front end
121
+
122
= 1.8.1 =
123
+ * Rounded stars again available
124
125
= 1.8.0 =
126
* This is a very important release. A lot of code has been cleaned up/rewritten. Images are not png anymore, but svg.
197
[tippy](https://atomiks.github.io/tippyjs/)
198
199
Svg star icon made by [Freepik](http://www.freepik.com)
200
+ from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/)
yet-another-stars-rating.php CHANGED
@@ -4,7 +4,7 @@
4
* Plugin Name: Yet Another Stars Rating
5
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
* Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your website posts, pages and CPT, without affecting its speed.
7
- * Version: 1.8.1
8
* Author: Dario Curvino
9
* Author URI: https://yetanotherstarsrating.com/
10
* Text Domain: yet-another-stars-rating
@@ -77,7 +77,7 @@ if ( !function_exists( 'yasr_fs' ) ) {
77
yasr_fs();
78
// Signal that SDK was initiated.
79
do_action( 'yasr_fs_loaded' );
80
- define( 'YASR_VERSION_NUM', '1.8.1' );
81
//Plugin relative path
82
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
83
//Plugin RELATIVE PATH without slashes (just the directory's name)
@@ -189,11 +189,11 @@ if ( !function_exists( 'yasr_fs' ) ) {
189
require YASR_ABSOLUTE_PATH . '/lib/yasr-db-functions.php';
190
require YASR_ABSOLUTE_PATH . '/lib/yasr-ajax-functions.php';
191
require YASR_ABSOLUTE_PATH . '/lib/yasr-shortcode-functions.php';
192
193
if ( is_admin() ) {
194
require YASR_ABSOLUTE_PATH . '/lib/yasr-admin-actions.php';
195
require YASR_ABSOLUTE_PATH . '/lib/settings/yasr-settings-functions.php';
196
- require YASR_ABSOLUTE_PATH . '/lib/yasr-widgets.php';
197
require YASR_ABSOLUTE_PATH . '/lib/class-wp-list-table.php';
198
}
199
4
* Plugin Name: Yet Another Stars Rating
5
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
* Description: Yasr - Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your website posts, pages and CPT, without affecting its speed.
7
+ * Version: 1.8.2
8
* Author: Dario Curvino
9
* Author URI: https://yetanotherstarsrating.com/
10
* Text Domain: yet-another-stars-rating
77
yasr_fs();
78
// Signal that SDK was initiated.
79
do_action( 'yasr_fs_loaded' );
80
+ define( 'YASR_VERSION_NUM', '1.8.2' );
81
//Plugin relative path
82
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
83
//Plugin RELATIVE PATH without slashes (just the directory's name)
189
require YASR_ABSOLUTE_PATH . '/lib/yasr-db-functions.php';
190
require YASR_ABSOLUTE_PATH . '/lib/yasr-ajax-functions.php';
191
require YASR_ABSOLUTE_PATH . '/lib/yasr-shortcode-functions.php';
192
+ require YASR_ABSOLUTE_PATH . '/lib/yasr-widgets.php';
193
194
if ( is_admin() ) {
195
require YASR_ABSOLUTE_PATH . '/lib/yasr-admin-actions.php';
196
require YASR_ABSOLUTE_PATH . '/lib/settings/yasr-settings-functions.php';
197
require YASR_ABSOLUTE_PATH . '/lib/class-wp-list-table.php';
198
}
199