Yasr – Yet Another Stars Rating - Version 1.6.8

Version Description

  • Fixed css for tooltip stats
Download this release

Release Info

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

Code changes from version 1.6.7 to 1.6.8

changelog.txt CHANGED
@@ -1,3 +1,43 @@
1
= 1.4.2 =
2
* TWEAKED: progressbars and tooltip classes have been fixed
3
1
+ = 1.5.6 =
2
+ * Fixed Javascript error
3
+
4
+ = 1.5.5 =
5
+ * FIXED: yasr_most_or_highest_rated_posts was displaying 2 table instead 1
6
+
7
+ = 1.5.4 =
8
+ * TWEAKED: removed jacasvript for yasr_visitor_multiset shortcode, use wp_localize_script instead
9
+
10
+ = 1.5.3 =
11
+ * FIXED: var_dump string appear after visitor vote
12
+
13
+ = 1.5.2 =
14
+ * TWEAKED: smaller number of queries when Yasr is called in archive pages
15
+ * FIXED: css problem with "small" and "medium" size
16
+
17
+ = 1.5.1 =
18
+ * FIXED: when a post/page was removed from trash
19
+
20
+ = 1.5.0 =
21
+ * Updated rateit to version 1.1.0
22
+
23
+ = 1.4.9 =
24
+ * Added support to litespeed caching plugin (kudos to pako69)
25
+
26
+ = 1.4.8 =
27
+ * Minor changes (Thx to pako69)
28
+
29
+ = 1.4.7 =
30
+ * Removed freemius sdk.
31
+
32
+ = 1.4.6 =
33
+ * Jquery ui css is now loaded locally
34
+
35
+ = 1.4.4 =
36
+ * Added freemius sdk.
37
+
38
+ = 1.4.3 =
39
+ * If Blogposting is selected as itemtpye, and no featured image is set, use the logo url
40
+
41
= 1.4.2 =
42
* TWEAKED: progressbars and tooltip classes have been fixed
43
css/yasr.css CHANGED
@@ -329,36 +329,36 @@ div.bigstars .rateit-selected
329
yasr_pro_comment_reviews_stats shortcode too***/
330
331
.yasr-progress-bars-container {
332
- width: 100%;
333
}
334
335
.yasr-progress-bar-row-container {
336
- padding-top: 2px;
337
- padding-left: 10px;
338
- padding-right: 10px;
339
- display: block;
340
}
341
342
.yasr-progress-bar-name {
343
- width: 55px;
344
- font-size: 100%;
345
- line-height: 1.5;
346
- text-align: left;
347
- display: inline-block;
348
}
349
350
.yasr-progress-bar {
351
- display: inline-block;
352
- width: 100px;
353
height: 17px !important;
354
border: 0px !important;
355
border-bottom-left-radius: 0px !important;
356
border-top-left-radius: 0px !important;
357
border-bottom-right-radius: 0px !important;
358
border-top-right-radius: 0px !important;
359
- margin-right: 5px;
360
- margin-bottom: -2px;
361
- box-shadow: inset 0 1px 2px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.1);
362
}
363
364
/*I must use this to remove radius on top left.*/
@@ -374,9 +374,9 @@ yasr_pro_comment_reviews_stats shortcode too***/
374
}
375
376
.yasr-progress-bar-votes-count {
377
- min-width: 45px;
378
- font-size: 100%;
379
- display: inline-block;
380
}
381
382
@@ -388,6 +388,7 @@ yasr_pro_comment_reviews_stats shortcode too***/
388
.yasr-visitors-stats-tooltip {
389
min-width:200px;
390
text-align: center;
391
}
392
393
/*** Tooltip ***/
329
yasr_pro_comment_reviews_stats shortcode too***/
330
331
.yasr-progress-bars-container {
332
+ width: 100% !important;
333
}
334
335
.yasr-progress-bar-row-container {
336
+ padding-top: 2px !important;
337
+ padding-left: 10px !important;
338
+ padding-right: 10px !important;
339
+ display: block !important;
340
}
341
342
.yasr-progress-bar-name {
343
+ width: 55px !important;
344
+ font-size: 14px !important;
345
+ line-height: 1.5 !important;
346
+ text-align: left !important;
347
+ display: inline-block !important;
348
}
349
350
.yasr-progress-bar {
351
+ display: inline-block !important;
352
+ width: 100px !important;
353
height: 17px !important;
354
border: 0px !important;
355
border-bottom-left-radius: 0px !important;
356
border-top-left-radius: 0px !important;
357
border-bottom-right-radius: 0px !important;
358
border-top-right-radius: 0px !important;
359
+ margin-right: 5px !important;
360
+ margin-bottom: -2px !important;
361
+ box-shadow: inset 0 1px 2px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.1) !important;
362
}
363
364
/*I must use this to remove radius on top left.*/
374
}
375
376
.yasr-progress-bar-votes-count {
377
+ min-width: 45px !important;;
378
+ font-size: 14px !important;
379
+ display: inline-block !important;;
380
}
381
382
388
.yasr-visitors-stats-tooltip {
389
min-width:200px;
390
text-align: center;
391
+ background-color: white;
392
}
393
394
/*** Tooltip ***/
freemius/composer.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "name": "freemius/wordpress-sdk",
3
- "description": "Freemius WordPress SDK",
4
- "keywords": ["freemius", "wordpress", "plugin", "sdk"],
5
- "homepage": "https://freemius.com",
6
- "license": "GPL-3.0-only",
7
- "require": {
8
- "php": ">=5.2"
9
- }
10
- }
lib/yasr-functions.php CHANGED
@@ -74,18 +74,16 @@ if ( ! defined( 'ABSPATH' ) ) exit('You\'re not allowed to see this page'); // E
74
$tooltip_values = __("bad, poor, ok, good, super", 'yet-another-stars-rating');
75
$tooltip_values_exploded = explode(", ", $tooltip_values);
76
77
- wp_localize_script ('yasrfront', 'yasrCommonData', [
78
-
79
- 'postid' => get_the_ID(),
80
- 'ajaxurl' => admin_url('admin-ajax.php'),
81
- 'loggedUser' => is_user_logged_in(),
82
- 'visitorStatsEnabled' => YASR_VISITORS_STATS,
83
- 'tooltipValues' => $tooltip_values_exploded,
84
- 'loaderHtml' => $yasr_visitor_votes_loader,
85
- 'jquery_disabled' => YASR_JQUERY_DISABLED
86
-
87
- ]
88
-
89
);
90
91
}
74
$tooltip_values = __("bad, poor, ok, good, super", 'yet-another-stars-rating');
75
$tooltip_values_exploded = explode(", ", $tooltip_values);
76
77
+ wp_localize_script ('yasrfront', 'yasrCommonData',
78
+ array(
79
+ 'postid' => get_the_ID(),
80
+ 'ajaxurl' => admin_url('admin-ajax.php'),
81
+ 'loggedUser' => is_user_logged_in(),
82
+ 'visitorStatsEnabled' => YASR_VISITORS_STATS,
83
+ 'tooltipValues' => $tooltip_values_exploded,
84
+ 'loaderHtml' => $yasr_visitor_votes_loader,
85
+ 'jquery_disabled' => YASR_JQUERY_DISABLED
86
+ )
87
);
88
89
}
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.3.0
5
Contributors: Dudo
6
Tested up to: 5.0
7
Requires PHP: 5.4
8
- Stable tag: 1.6.7
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!
@@ -108,6 +108,9 @@ Of course not: you can easily add it on the visual editor just by clicking the "
108
109
The full changelog can be found in the plugin's directory. Recent entries:
110
111
= 1.6.7 =
112
* Css fix for gutenberg compatibility
113
@@ -143,26 +146,5 @@ You can enable/disable this in every moment in the settings
143
* FIXED: star disappear after user rating in some circumstances
144
* FIXED: javascript noticies
145
146
- = 1.5.6 =
147
- * Fixed Javascript error
148
-
149
- = 1.5.5 =
150
- * FIXED: yasr_most_or_highest_rated_posts was displaying 2 table instead 1
151
-
152
- = 1.5.4 =
153
- * TWEAKED: removed jacasvript for yasr_visitor_multiset shortcode, use wp_localize_script instead
154
-
155
- = 1.5.3 =
156
- * FIXED: var_dump string appear after visitor vote
157
-
158
- = 1.5.2 =
159
- * TWEAKED: smaller number of queries when Yasr is called in archive pages
160
- * FIXED: css problem with "small" and "medium" size
161
-
162
- = 1.5.1 =
163
- * FIXED: when a post/page was removed from trash
164
-
165
-
166
-
167
168
5
Contributors: Dudo
6
Tested up to: 5.0
7
Requires PHP: 5.4
8
+ Stable tag: 1.6.8
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!
108
109
The full changelog can be found in the plugin's directory. Recent entries:
110
111
+ = 1.6.8 =
112
+ * Fixed css for tooltip stats
113
+
114
= 1.6.7 =
115
* Css fix for gutenberg compatibility
116
146
* FIXED: star disappear after user rating in some circumstances
147
* FIXED: javascript noticies
148
149
150
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: Yet Another Stars Rating turn your WordPress into a complete review website.
7
- * Version: 1.6.7
8
* Author: Dario Curvino
9
* Author URI: https://yetanotherstarsrating.com/
10
* Text Domain: yet-another-stars-rating
@@ -74,7 +74,7 @@ function yasr_fs()
74
yasr_fs();
75
// Signal that SDK was initiated.
76
do_action( 'yasr_fs_loaded' );
77
- define( 'YASR_VERSION_NUM', '1.6.7' );
78
//Plugin relative path
79
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
80
//Plugin RELATIVE PATH without slashes (just the directory's name)
4
* Plugin Name: Yet Another Stars Rating
5
* Plugin URI: http://wordpress.org/plugins/yet-another-stars-rating/
6
* Description: Yet Another Stars Rating turn your WordPress into a complete review website.
7
+ * Version: 1.6.8
8
* Author: Dario Curvino
9
* Author URI: https://yetanotherstarsrating.com/
10
* Text Domain: yet-another-stars-rating
74
yasr_fs();
75
// Signal that SDK was initiated.
76
do_action( 'yasr_fs_loaded' );
77
+ define( 'YASR_VERSION_NUM', '1.6.8' );
78
//Plugin relative path
79
define( "YASR_ABSOLUTE_PATH", dirname( __FILE__ ) );
80
//Plugin RELATIVE PATH without slashes (just the directory's name)